Skip to content

Commit 75a9150

Browse files
committed
[processing] Fix config exception with INT/FLOAT settings
Fixes #18179
1 parent 3e86804 commit 75a9150

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

python/plugins/processing/gui/ConfigDialog.py

Lines changed: 2 additions & 0 deletions
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)