Skip to content
Permalink
Browse files

[processing] don't throw error when new provider added and settings i…

…s not updated yet
  • Loading branch information
alexbruy committed Mar 13, 2016
1 parent 48911ca commit 6610c6e25d4c21087ee08458b0e9eff192f4e117
Showing with 4 additions and 1 deletion.
  1. +4 −1 python/plugins/processing/gui/ConfigDialog.py
@@ -153,7 +153,10 @@ def fillTree(self):
labelItem = QStandardItem(alg.name)
labelItem.setIcon(icon)
labelItem.setEditable(False)
setting = ProcessingConfig.settings["MENU_" + alg.commandLineName()]
try:
setting = ProcessingConfig.settings["MENU_" + alg.commandLineName()]
except:
continue
self.items[setting] = SettingItem(setting)
groupItem.insertRow(0, [labelItem, self.items[setting]])
emptyItem = QStandardItem()

0 comments on commit 6610c6e

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