Show last global search results again when focusing back in global search box
(cherry picked from commit 898e1e2ed1
)
This commit is contained in:
parent
8441c565c7
commit
7dfbc2d2e1
|
@ -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