Sat, 28 Feb 2015 18:34:55 +0100
Fixed a situation in the config dialog that could cause an issue, if a plug-in gets uninstalled after its config page was the last one been shown.
Preferences/ConfigurationDialog.py | file | annotate | diff | comparison | revisions |
--- a/Preferences/ConfigurationDialog.py Sat Feb 28 16:16:49 2015 +0100 +++ b/Preferences/ConfigurationDialog.py Sat Feb 28 18:34:55 2015 +0100 @@ -612,7 +612,7 @@ @param pageName name of the configuration page to show (string) @param setCurrent flag indicating to set the current item (boolean) """ - if pageName == "empty": + if pageName == "empty" or pageName not in self.configItems: page = self.emptyPage else: pageData = self.configItems[pageName]