Commit 9ab06abc authored by Juku Trump's avatar Juku Trump
Browse files

Search effects from all tabs instead of only the selected tab

parent 889a5a39
......@@ -64,5 +64,9 @@ bool EffectFilter::filterType(const std::shared_ptr<TreeItem> &item) const
bool EffectFilter::applyAll(std::shared_ptr<TreeItem> item) const
{
return filterName(item) && filterType(item);
if (!m_name_value.isEmpty()) {
return filterName(item);
} else {
return filterType(item);
}
}
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