mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Once again reset completion model first time tab is pressed. This ensures we never tab the wrong username, but it's really expensive.
This commit is contained in:
parent
3e7e0269f7
commit
e34cbd741c
1 changed files with 1 additions and 0 deletions
|
@ -101,6 +101,7 @@ void ResizingTextEdit::keyPressEvent(QKeyEvent *event)
|
||||||
|
|
||||||
if (!this->completionInProgress) {
|
if (!this->completionInProgress) {
|
||||||
// First type pressing tab after modifying a message, we refresh our completion model
|
// First type pressing tab after modifying a message, we refresh our completion model
|
||||||
|
this->completer->setModel(completionModel);
|
||||||
completionModel->refresh();
|
completionModel->refresh();
|
||||||
this->completionInProgress = true;
|
this->completionInProgress = true;
|
||||||
this->completer->setCompletionPrefix(currentCompletionPrefix);
|
this->completer->setCompletionPrefix(currentCompletionPrefix);
|
||||||
|
|
Loading…
Reference in a new issue