mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-29 13:47:47 +00:00
Clear forward query on Esc
This commit is contained in:
parent
43b01fcf43
commit
614237fc2e
@ -426,6 +426,8 @@ void ShareBox::keyPressEvent(QKeyEvent *e) {
|
||||
_inner->activateSkipPage(contentHeight(), -1);
|
||||
} else if (e->key() == Qt::Key_PageDown) {
|
||||
_inner->activateSkipPage(contentHeight(), 1);
|
||||
} else if (e->key() == Qt::Key_Escape && !_select->getQuery().isEmpty()) {
|
||||
_select->clearQuery();
|
||||
} else {
|
||||
BoxContent::keyPressEvent(e);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user