Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[processing] Show parameter type in input definition dialog title
  • Loading branch information
nyalldawson committed Mar 10, 2019
1 parent 56e98f2 commit 84c29d2
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 84c29d2

Please sign in to comment.