We now also add localized names to the autocompletion
Changed the login name in autocompletion to the display name Autocompletion model is now only updated on the "first completion"
This commit is contained in:
@@ -89,9 +89,9 @@ void ResizingTextEdit::keyPressEvent(QKeyEvent *event)
|
||||
|
||||
auto *completionModel =
|
||||
static_cast<chatterino::CompletionModel *>(this->completer->model());
|
||||
completionModel->refresh();
|
||||
|
||||
if (!this->nextCompletion) {
|
||||
completionModel->refresh();
|
||||
// first selection
|
||||
this->completer->setCompletionPrefix(currentCompletionPrefix);
|
||||
this->nextCompletion = true;
|
||||
|
||||
Reference in New Issue
Block a user