Skip to content
Permalink
Browse files

[processing] re-enabled tooltips in algorithm dialog

  • Loading branch information
volaya committed May 26, 2016
1 parent c080c20 commit 841f8fb74e98a68c52729592df05978997dad6be
Showing with 2 additions and 7 deletions.
  1. +2 −7 python/plugins/processing/gui/ParametersPanel.py
@@ -171,8 +171,6 @@ def updateMultipleInputs(self):
widget.updateForOptions(opts)

def initWidgets(self):
#tooltips = self.alg.getParameterDescriptions()

# If there are advanced parameters — show corresponding groupbox
for param in self.alg.parameters:
if param.isAdvanced:
@@ -215,11 +213,8 @@ def initWidgets(self):
widget = QWidget()
widget.setLayout(layout)

#~ if param.name in tooltips.keys():
#~ tooltip = tooltips[param.name]
#~ else:
#~ tooltip = param.description
#~ widget.setToolTip(tooltip)
tooltips = self.alg.getParameterDescriptions()
widget.setToolTip(tooltips.get(param.name, param.description))

if isinstance(param, ParameterBoolean):
widget.setText(desc)

0 comments on commit 841f8fb

Please sign in to comment.
You can’t perform that action at this time.