-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() | |||
271 | QRegExp re; | 271 | QRegExp re; |
272 | |||
273 | re.setWildcard(true); // most people understand these better. | 272 | re.setWildcard(true); // most people understand these better. |
@@ -320,5 +319,2 @@ void SearchDialog::updateView() | |||
320 | re.setPattern(st); | 319 | re.setPattern(st); |
321 | if (re.isValid()) { | ||
322 | search(re); | ||
323 | } else { | ||
324 | mMatchedEvents.clear(); | 320 | mMatchedEvents.clear(); |
@@ -326,2 +322,4 @@ void SearchDialog::updateView() | |||
326 | mMatchedJournals.clear(); | 322 | mMatchedJournals.clear(); |
323 | if (re.isValid()) { | ||
324 | search(re); | ||
327 | } | 325 | } |