Skip to content

Commit

Permalink
[processing] Fix incorrect tooltips show for output parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Mar 23, 2020
1 parent d10267f commit d4f378a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion python/plugins/processing/gui/ParametersPanel.py
Expand Up @@ -256,7 +256,6 @@ def skipOutputChanged(widget, checkbox, skipped):
self.layoutMain.insertWidget(self.layoutMain.count() - 1, check)
self.checkBoxes[output.name()] = check

widget.setToolTip(param.toolTip())
self.outputWidgets[output.name()] = widget

for wrapper in list(self.wrappers.values()):
Expand Down
2 changes: 2 additions & 0 deletions src/gui/processing/qgsprocessingoutputdestinationwidget.cpp
Expand Up @@ -56,6 +56,8 @@ QgsProcessingLayerOutputDestinationWidget::QgsProcessingLayerOutputDestinationWi
{
setValue( mParameter->defaultValue() );
}

setToolTip( mParameter->toolTip() );
}

bool QgsProcessingLayerOutputDestinationWidget::outputIsSkipped() const
Expand Down

0 comments on commit d4f378a

Please sign in to comment.