-rw-r--r-- | korganizer/searchdialog.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/korganizer/searchdialog.cpp b/korganizer/searchdialog.cpp index 7a945e3..de65b53 100644 --- a/korganizer/searchdialog.cpp +++ b/korganizer/searchdialog.cpp @@ -436,29 +436,28 @@ void SearchDialog::search(const QRegExp &re) continue; } } } } } void SearchDialog::keyPressEvent ( QKeyEvent *e) { switch ( e->key() ) { case Qt::Key_Escape: - hide(); + close(); break; case Qt::Key_F: if ( e->state() == Qt::ControlButton ) { - qDebug("full "); } break; case Qt::Key_Return: case Qt::Key_Enter: doSearch(); break; default: e->ignore(); } } |