GUI: move focus to search entry when unminimized

This commit is contained in:
Jean-Francois Dockes 2010-11-23 14:34:48 +01:00
parent 19f58eb426
commit 988a391703

View File

@ -1340,6 +1340,10 @@ bool RclMain::eventFilter(QObject *, QEvent *event)
resList->resultPageFirst();
return true;
}
} else if (event->type() == QEvent::Show) {
LOGDEB2(("RclMain::eventFilter: Show\n"));
// move the focus to the search entry on show
sSearch->queryText->setFocus();
}
return false;
}