--- 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()