author | zautrix <zautrix> | 2005-06-24 15:47:50 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-06-24 15:47:50 (UTC) |
commit | 3dbc82b2711811450b77b85a5fd85744a61d0a2c (patch) (side-by-side diff) | |
tree | 5de54644cd84669544168ed3f56dec0c546d3be3 /korganizer | |
parent | e5ddfdabaf6f0e72caa0215c8896e104c7d74cc3 (diff) | |
download | kdepimpi-3dbc82b2711811450b77b85a5fd85744a61d0a2c.zip kdepimpi-3dbc82b2711811450b77b85a5fd85744a61d0a2c.tar.gz kdepimpi-3dbc82b2711811450b77b85a5fd85744a61d0a2c.tar.bz2 |
fixxx
-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) } - + if ( mMatchedEvents.count() + mMatchedJournals.count() + mMatchedTodos.count() < 1 ) { + qDebug("count %d ", mMatchedEvents.count() + mMatchedJournals.count() + mMatchedTodos.count() ); + if ( mRefineItems->isChecked() ) + mRefineItems->setChecked( false ); + else if ( mSubItems->isChecked() ) + mSubItems->setChecked( false ); + } } |