Skip to content

Commit 3461c7e

Browse files
committed
[processing] add missed multiple input parameter to modeler
1 parent 313a049 commit 3461c7e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

python/plugins/processing/modeler/ModelerParameterDefinitionDialog.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ class ModelerParameterDefinitionDialog(QDialog):
6969
PARAMETER_FILE = 'File'
7070
PARAMETER_POINT = 'Point'
7171
PARAMETER_CRS = 'CRS'
72+
PARAMETER_MULTIPLE = 'Multiple input'
7273

7374
# To add
74-
PARAMETER_MULTIPLE = 'Multiple input'
7575
PARAMETER_FIXED_TABLE = 'Fixed table'
7676

7777
paramTypes = [
@@ -86,7 +86,8 @@ class ModelerParameterDefinitionDialog(QDialog):
8686
PARAMETER_TABLE_MULTIPLE_FIELD,
8787
PARAMETER_VECTOR,
8888
PARAMETER_POINT,
89-
PARAMETER_CRS
89+
PARAMETER_CRS,
90+
PARAMETER_MULTIPLE
9091
]
9192

9293
def __init__(self, alg, paramType=None, param=None):
@@ -193,7 +194,7 @@ def setupUi(self):
193194
self.datatypeCombo.addItem(self.tr('Vector (line)'))
194195
self.datatypeCombo.addItem(self.tr('Vector (polygon)'))
195196
self.datatypeCombo.addItem(self.tr('Raster'))
196-
self.datatypeCombo.addItem(self.tr('Table'))
197+
self.datatypeCombo.addItem(self.tr('File'))
197198
if self.param is not None:
198199
self.datatypeCombo.setCurrentIndex(self.param.datatype + 1)
199200
self.horizontalLayoutParent.addWidget(self.datatypeCombo)

0 commit comments

Comments
 (0)