Show last global search results again when focusing back in global search box
This commit is contained in:
parent
f89fb0db3a
commit
898e1e2ed1
|
@ -367,6 +367,10 @@ bool GlobalSearchWidget::EventFilterSearchWidget(QObject* o, QEvent* e) {
|
|||
return true;
|
||||
break;
|
||||
|
||||
case QEvent::FocusIn:
|
||||
RepositionPopup();
|
||||
break;
|
||||
|
||||
case QEvent::KeyPress: {
|
||||
QKeyEvent* ke = static_cast<QKeyEvent*>(e);
|
||||
const int key = ke->key();
|
||||
|
|
Loading…
Reference in New Issue