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