From 873aea1fc7a23bf6e764012b3422c4d9b0c39026 Mon Sep 17 00:00:00 2001 From: Arno Date: Fri, 2 Feb 2018 07:35:27 +0100 Subject: Raise and show SearchDialog on CTRL+S --- filewidget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/filewidget.cpp b/filewidget.cpp index 10a36a8..57f5a97 100644 --- a/filewidget.cpp +++ b/filewidget.cpp @@ -922,8 +922,8 @@ void FileWidget::deleteFiles(){ void FileWidget::keyPressEvent(QKeyEvent *e){ if(e->key() == Qt::Key_S && (e->modifiers() & Qt::ControlModifier)){ - mFilter->setFocus(); - mFilter->selectAll(); + mSearchDlg->show(); + mSearchDlg->raise(); goto exit; } if(e->key() == Qt::Key_D && (e->modifiers() & Qt::ControlModifier)){ -- cgit v1.2.3-70-g09d2