-rw-r--r-- | korganizer/searchdialog.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/korganizer/searchdialog.cpp b/korganizer/searchdialog.cpp index 2390520..0e9f64c 100644 --- a/korganizer/searchdialog.cpp +++ b/korganizer/searchdialog.cpp @@ -271,3 +271,2 @@ void SearchDialog::doSearch() QRegExp re; - re.setWildcard(true); // most people understand these better. @@ -320,5 +319,2 @@ void SearchDialog::updateView() re.setPattern(st); - if (re.isValid()) { - search(re); - } else { mMatchedEvents.clear(); @@ -326,2 +322,4 @@ void SearchDialog::updateView() mMatchedJournals.clear(); + if (re.isValid()) { + search(re); } |