Skip to content
Permalink
Browse files

[processing] Show parameter type in input definition dialog title

  • Loading branch information
nyalldawson committed Mar 8, 2019
1 parent 97ba60e commit 1292ce80463545806edff171a4d41bb1d3607eaf
Showing with 2 additions and 1 deletion.
  1. +2 −1 python/plugins/processing/modeler/ModelerParameterDefinitionDialog.py
@@ -96,7 +96,8 @@ def closeEvent(self, event):
super(ModelerParameterDefinitionDialog, self).closeEvent(event)

def setupUi(self):
self.setWindowTitle(self.tr('Parameter Definition'))
type_metadata = QgsApplication.processingRegistry().parameterType(self.param.type() if self.param else self.paramType)
self.setWindowTitle(self.tr('{} Parameter Definition').format(type_metadata.name()))
self.setMinimumWidth(300)

self.verticalLayout = QVBoxLayout(self)

0 comments on commit 1292ce8

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