-rw-r--r-- | korganizer/searchdialog.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/korganizer/searchdialog.cpp b/korganizer/searchdialog.cpp index a8de297..0713980 100644 --- a/korganizer/searchdialog.cpp +++ b/korganizer/searchdialog.cpp | |||
@@ -563,3 +563,9 @@ void SearchDialog::search(const QRegExp &re) | |||
563 | } | 563 | } |
564 | 564 | if ( mMatchedEvents.count() + mMatchedJournals.count() + mMatchedTodos.count() < 1 ) { | |
565 | qDebug("count %d ", mMatchedEvents.count() + mMatchedJournals.count() + mMatchedTodos.count() ); | ||
566 | if ( mRefineItems->isChecked() ) | ||
567 | mRefineItems->setChecked( false ); | ||
568 | else if ( mSubItems->isChecked() ) | ||
569 | mSubItems->setChecked( false ); | ||
570 | } | ||
565 | } | 571 | } |