Skip to content

Commit a5399de

Browse files
authored
Merge pull request #6429 from nyalldawson/fix_18179
[processing] Fix config exception with INT/FLOAT settings
2 parents 08b75ec + 75a9150 commit a5399de

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

python/plugins/processing/gui/ConfigDialog.py

+2
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,8 @@ def setEditorData(self, editor, index):
400400
setting = index.model().data(index, Qt.UserRole)
401401
if setting.valuetype == Setting.SELECTION:
402402
editor.setCurrentIndex(editor.findText(value))
403+
elif setting.valuetype in (Setting.FLOAT, Setting.INT):
404+
editor.setValue(value)
403405
else:
404406
editor.setText(value)
405407

0 commit comments

Comments
 (0)