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 10, 2019
1 parent dcc9f11 commit cf43446
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
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 cf43446

Please sign in to comment.