Skip to content

Commit

Permalink
[processing] Show parameter type in input definition dialog title
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Mar 8, 2019
1 parent 97ba60e commit 1292ce8
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -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)
Expand Down

0 comments on commit 1292ce8

Please sign in to comment.