From 605e0c43fefc20aedf6264ac83ca77260e418351 Mon Sep 17 00:00:00 2001 From: Alexander Bruy Date: Wed, 9 Mar 2016 14:20:48 +0200 Subject: [PATCH] [processing] don't show tip when user uses search and tip was disabled (fix #14379) --- python/plugins/processing/gui/ProcessingToolbox.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python/plugins/processing/gui/ProcessingToolbox.py b/python/plugins/processing/gui/ProcessingToolbox.py index e2e626732b2..adc4e2d3f01 100644 --- a/python/plugins/processing/gui/ProcessingToolbox.py +++ b/python/plugins/processing/gui/ProcessingToolbox.py @@ -113,7 +113,9 @@ class ProcessingToolbox(BASE, WIDGET): 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)