[processing] do not search text in short help when filtering in toolbox

This should fix problems with slow and unresponsive filtering
This commit is contained in:
volaya 2016-03-18 13:06:45 +01:00
parent a1243d58cb
commit 1fdd177c81

View File

@ -133,8 +133,6 @@ class ProcessingToolbox(BASE, WIDGET):
hide = bool(text) and (text not in item.text(0).lower())
if isinstance(item, TreeAlgorithmItem):
hide = hide and (text not in item.alg.commandLineName())
if item.alg.shortHelp() is not None:
hide = hide and (text not in item.alg.shortHelp())
item.setHidden(hide)
return not hide
else: