summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/TextInputWidget.cpp3
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;
         }