Preferences/ConfigurationPages/EditorSearchPage.py

changeset 12
1d8dd9706f46
parent 7
c679fb30c8f3
child 13
1af94a91f439
diff -r b0996e4a289e -r 1d8dd9706f46 Preferences/ConfigurationPages/EditorSearchPage.py
--- a/Preferences/ConfigurationPages/EditorSearchPage.py	Fri Jan 01 16:11:36 2010 +0000
+++ b/Preferences/ConfigurationPages/EditorSearchPage.py	Sat Jan 02 15:11:35 2010 +0000
@@ -10,8 +10,8 @@
 from PyQt4.QtCore import pyqtSlot
 from PyQt4.QtGui import QPixmap, QIcon
 
-from ConfigurationPageBase import ConfigurationPageBase
-from Ui_EditorSearchPage import Ui_EditorSearchPage
+from .ConfigurationPageBase import ConfigurationPageBase
+from .Ui_EditorSearchPage import Ui_EditorSearchPage
 
 import Preferences
 
@@ -58,7 +58,7 @@
         Preferences.setEditor("MarkOccurrencesTimeout", 
             self.markOccurrencesTimeoutSpinBox.value())
         
-        for key in self.editorColours.keys():
+        for key in list(self.editorColours.keys()):
             Preferences.setEditorColour(key, self.editorColours[key])
         
     @pyqtSlot()

eric ide

mercurial