Skip to content

Commit

Permalink
[processing] don't show tip when user uses search and tip was disabled (
Browse files Browse the repository at this point in the history
fix #14379)
  • Loading branch information
alexbruy committed Mar 9, 2016
1 parent a859013 commit 605e0c4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion python/plugins/processing/gui/ProcessingToolbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,9 @@ def textChanged(self):
if text in alg.name:
self.disabledWithMatchingAlgs.append(providerName)
break
self.txtDisabled.setVisible(bool(self.disabledWithMatchingAlgs))
showTip = ProcessingConfig.getSetting(ProcessingConfig.SHOW_PROVIDERS_TOOLTIP)
if showTip:
self.txtDisabled.setVisible(bool(self.disabledWithMatchingAlgs))
else:
self.algorithmTree.collapseAll()
self.algorithmTree.invisibleRootItem().child(0).setExpanded(True)
Expand Down

0 comments on commit 605e0c4

Please sign in to comment.