mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-26 04:58:49 +03:00
reset filter string when emoji completer is opened
This commit is contained in:
parent
b37534aa53
commit
bfcfa79d53
1 changed files with 2 additions and 1 deletions
|
@ -247,6 +247,7 @@ FilteredTextEdit::keyPressEvent(QKeyEvent *event)
|
|||
case Qt::Key_Colon: {
|
||||
QTextEdit::keyPressEvent(event);
|
||||
trigger_pos_ = textCursor().position() - 1;
|
||||
emoji_completion_model_->setFilterRegExp("");
|
||||
emoji_popup_open_ = true;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue