diff options
author | Jussi Kuokkanen <jussi.kuokkanen@protonmail.com> | 2020-09-13 13:31:02 +0300 |
---|---|---|
committer | Jussi Kuokkanen <jussi.kuokkanen@protonmail.com> | 2020-09-13 13:31:02 +0300 |
commit | bfcfa79d53929b1a7607f82fe8c10a82fa13e2dd (patch) | |
tree | 3e98976953eb1e7ebf48e49ea9335b1a288014b3 /src | |
parent | Merge pull request #278 from trilene/voip (diff) | |
download | nheko-bfcfa79d53929b1a7607f82fe8c10a82fa13e2dd.tar.xz |
reset filter string when emoji completer is opened
Diffstat (limited to 'src')
-rw-r--r-- | src/TextInputWidget.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/TextInputWidget.cpp b/src/TextInputWidget.cpp index 6d57a5f1..4a25c4cf 100644 --- a/src/TextInputWidget.cpp +++ b/src/TextInputWidget.cpp @@ -246,7 +246,8 @@ FilteredTextEdit::keyPressEvent(QKeyEvent *event) } case Qt::Key_Colon: { QTextEdit::keyPressEvent(event); - trigger_pos_ = textCursor().position() - 1; + trigger_pos_ = textCursor().position() - 1; + emoji_completion_model_->setFilterRegExp(""); emoji_popup_open_ = true; break; } |