Preferences/ConfigurationPages/EditorSpellCheckingPage.py

changeset 12
1d8dd9706f46
parent 7
c679fb30c8f3
child 13
1af94a91f439
--- a/Preferences/ConfigurationPages/EditorSpellCheckingPage.py	Fri Jan 01 16:11:36 2010 +0000
+++ b/Preferences/ConfigurationPages/EditorSpellCheckingPage.py	Sat Jan 02 15:11:35 2010 +0000
@@ -12,8 +12,8 @@
 
 from E4Gui.E4Completers import E4FileCompleter
 
-from ConfigurationPageBase import ConfigurationPageBase
-from Ui_EditorSpellCheckingPage import Ui_EditorSpellCheckingPage
+from .ConfigurationPageBase import ConfigurationPageBase
+from .Ui_EditorSpellCheckingPage import Ui_EditorSpellCheckingPage
 
 import Preferences
 import Utilities
@@ -86,7 +86,7 @@
         Preferences.setEditor("SpellCheckingMinWordSize", 
             self.minimumWordSizeSlider.value())
         
-        for key in self.editorColours.keys():
+        for key in list(self.editorColours.keys()):
             Preferences.setEditorColour(key, self.editorColours[key])
         
         Preferences.setEditor("SpellCheckingPersonalWordList", self.pwlEdit.text())

eric ide

mercurial