Preferences/ConfigurationDialog.py

changeset 4143
565002034bdb
parent 4128
6e1ee14d5f23
child 4165
7ff2ca8b0dc5
--- 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]

eric ide

mercurial