Preferences/ConfigurationDialog.py

branch
6_0_x
changeset 4144
fb16b1759ba6
parent 4129
8d557a90b6e7
child 4168
ecb9c1a0e191
diff -r 22040bea71a0 -r fb16b1759ba6 Preferences/ConfigurationDialog.py
--- a/Preferences/ConfigurationDialog.py	Sat Feb 28 15:59:54 2015 +0100
+++ b/Preferences/ConfigurationDialog.py	Sat Feb 28 18:34:55 2015 +0100
@@ -606,7 +606,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