Preferences/ConfigurationPages/EditorStylesPage.py

changeset 12
1d8dd9706f46
parent 7
c679fb30c8f3
child 13
1af94a91f439
--- a/Preferences/ConfigurationPages/EditorStylesPage.py	Fri Jan 01 16:11:36 2010 +0000
+++ b/Preferences/ConfigurationPages/EditorStylesPage.py	Sat Jan 02 15:11:35 2010 +0000
@@ -13,8 +13,8 @@
 
 from QScintilla.QsciScintillaCompat import QSCINTILLA_VERSION
 
-from ConfigurationPageBase import ConfigurationPageBase
-from Ui_EditorStylesPage import Ui_EditorStylesPage
+from .ConfigurationPageBase import ConfigurationPageBase
+from .Ui_EditorStylesPage import Ui_EditorStylesPage
 
 import Preferences
 
@@ -190,7 +190,7 @@
         Preferences.setEditor("MiniContextMenu",
             self.miniMenuCheckBox.isChecked())
         
-        for key in self.editorColours.keys():
+        for key in list(self.editorColours.keys()):
             Preferences.setEditorColour(key, self.editorColours[key])
         
     @pyqtSlot()

eric ide

mercurial