mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Fix a bug where tabbing too early would break any future tab completions
Fixes #1107
This commit is contained in:
parent
64dc7f5d73
commit
9cb5e3abb3
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ void ResizingTextEdit::keyPressEvent(QKeyEvent *event)
|
||||||
QString currentCompletionPrefix = this->textUnderCursor();
|
QString currentCompletionPrefix = this->textUnderCursor();
|
||||||
|
|
||||||
// check if there is something to complete
|
// check if there is something to complete
|
||||||
if (!currentCompletionPrefix.size())
|
if (currentCompletionPrefix.size() <= 1)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue