mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-17 20:09:50 +01:00
Clear global search box when pressing Escape, like in other search boxes
This commit is contained in:
parent
99bcb5c2a2
commit
f89fb0db3a
@ -381,6 +381,10 @@ bool GlobalSearchWidget::EventFilterSearchWidget(QObject* o, QEvent* e) {
|
||||
RepositionPopup();
|
||||
return true;
|
||||
|
||||
case Qt::Key_Escape:
|
||||
ui_->search->LineEditInterface::clear();
|
||||
return true;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user