diff --git a/src/widgets/helper/ResizingTextEdit.cpp b/src/widgets/helper/ResizingTextEdit.cpp index eda2b2c97..2df772d03 100644 --- a/src/widgets/helper/ResizingTextEdit.cpp +++ b/src/widgets/helper/ResizingTextEdit.cpp @@ -98,7 +98,7 @@ void ResizingTextEdit::keyPressEvent(QKeyEvent *event) QString currentCompletionPrefix = this->textUnderCursor(); // check if there is something to complete - if (!currentCompletionPrefix.size()) + if (currentCompletionPrefix.size() <= 1) { return; }