Skip to content

Commit

Permalink
[processing] don't throw error when new provider added and settings i…
Browse files Browse the repository at this point in the history
…s not updated yet
  • Loading branch information
alexbruy committed Mar 13, 2016
1 parent 48911ca commit 6610c6e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion python/plugins/processing/gui/ConfigDialog.py
Expand Up @@ -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()
Expand Down

0 comments on commit 6610c6e

Please sign in to comment.