reset filter string when emoji completer is opened
This commit is contained in:
parent
b37534aa53
commit
bfcfa79d53
@ -247,6 +247,7 @@ FilteredTextEdit::keyPressEvent(QKeyEvent *event)
|
|||||||
case Qt::Key_Colon: {
|
case Qt::Key_Colon: {
|
||||||
QTextEdit::keyPressEvent(event);
|
QTextEdit::keyPressEvent(event);
|
||||||
trigger_pos_ = textCursor().position() - 1;
|
trigger_pos_ = textCursor().position() - 1;
|
||||||
|
emoji_completion_model_->setFilterRegExp("");
|
||||||
emoji_popup_open_ = true;
|
emoji_popup_open_ = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user