File tree 1 file changed +2
-7
lines changed
python/plugins/processing/gui
1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -171,8 +171,6 @@ def updateMultipleInputs(self):
171
171
widget .updateForOptions (opts )
172
172
173
173
def initWidgets (self ):
174
- #tooltips = self.alg.getParameterDescriptions()
175
-
176
174
# If there are advanced parameters — show corresponding groupbox
177
175
for param in self .alg .parameters :
178
176
if param .isAdvanced :
@@ -215,11 +213,8 @@ def initWidgets(self):
215
213
widget = QWidget ()
216
214
widget .setLayout (layout )
217
215
218
- #~ if param.name in tooltips.keys():
219
- #~ tooltip = tooltips[param.name]
220
- #~ else:
221
- #~ tooltip = param.description
222
- #~ widget.setToolTip(tooltip)
216
+ tooltips = self .alg .getParameterDescriptions ()
217
+ widget .setToolTip (tooltips .get (param .name , param .description ))
223
218
224
219
if isinstance (param , ParameterBoolean ):
225
220
widget .setText (desc )
You can’t perform that action at this time.
0 commit comments