We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9984962 commit bbf0027Copy full SHA for bbf0027
python/plugins/processing/gui/wrappers.py
@@ -1362,11 +1362,11 @@ def getFields(self):
1362
elif self.param.dataType() == QgsProcessingParameterField.DateTime:
1363
fieldTypes = [QVariant.Date, QVariant.Time, QVariant.DateTime]
1364
1365
- fieldNames = set()
+ fieldNames = []
1366
for field in self._layer.fields():
1367
if not fieldTypes or field.type() in fieldTypes:
1368
- fieldNames.add(str(field.name()))
1369
- return sorted(list(fieldNames), key=cmp_to_key(locale.strcoll))
+ fieldNames.append(str(field.name()))
+ return fieldNames
1370
1371
def setValue(self, value):
1372
if self.dialogType in (DIALOG_STANDARD, DIALOG_BATCH):
0 commit comments