diff --git a/plugins/grepview/grepviewplugin.cpp b/plugins/grepview/grepviewplugin.cpp --- a/plugins/grepview/grepviewplugin.cpp +++ b/plugins/grepview/grepviewplugin.cpp @@ -182,8 +182,10 @@ dlg->setSearchLocations(m_directory); } - if(showOptions) + if(showOptions) { dlg->show(); + dlg->activateWindow(); + } else{ dlg->startSearch(); dlg->deleteLater();