Fix regexpfilter matching with an empty regex

parent 6c23f43e
......@@ -337,7 +337,7 @@ void RegExpFilter::process()
Q_ASSERT(text);
if (!_searchText.isValid()) {
if (!_searchText.isValid() || _searchText.pattern().isEmpty()) {
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment