mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 19:08:58 +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
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue