Skip to content
Permalink
Browse files

[processing] more fixes to "selection" type settings handling

  • Loading branch information
alexbruy committed Jan 13, 2017
1 parent 3605d4f commit 49b6c5f34282286c13981e5fc8881e3e3ed169b9
Showing with 4 additions and 1 deletion.
  1. +4 −1 python/plugins/processing/core/ProcessingConfig.py
@@ -328,7 +328,10 @@ def read(self, qsettings=QSettings()):
value = str(value).lower() == str(True).lower()

if self.valuetype == self.SELECTION:
self.value = self.options[int(value)]
try:
self.value = self.options[int(value)]
except:
self.value = self.options[0]
else:
self.value = value

0 comments on commit 49b6c5f

Please sign in to comment.
You can’t perform that action at this time.