diff --git a/src/qtgui/rclmain_w.cpp b/src/qtgui/rclmain_w.cpp index 60d9ca64..30a701a8 100644 --- a/src/qtgui/rclmain_w.cpp +++ b/src/qtgui/rclmain_w.cpp @@ -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; }