Skip to content
Permalink
Browse files

processing: only reset existing menu 'settings' (followup e78fc62)

  • Loading branch information
jef-n committed Jun 3, 2017
1 parent 2c8e03d commit 008f38574e78f0557aae890f508cf5e148545d15
Showing with 2 additions and 0 deletions.
  1. +2 −0 python/plugins/processing/gui/ConfigDialog.py
@@ -256,6 +256,8 @@ def resetMenusToDefaults(self):
for provider in providers:
for alg in provider.algs:
d = defaultMenuEntries.get(alg.commandLineName(), "")
if "MENU_" + alg.commandLineName() not in ProcessingConfig.settings:
continue
setting = ProcessingConfig.settings["MENU_" + alg.commandLineName()]
item = self.items[setting]
item.setData(d, Qt.EditRole)

0 comments on commit 008f385

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