Project/LexerAssociationDialog.py

changeset 12
1d8dd9706f46
parent 0
de9c2efb9d02
child 13
1af94a91f439
diff -r b0996e4a289e -r 1d8dd9706f46 Project/LexerAssociationDialog.py
--- a/Project/LexerAssociationDialog.py	Fri Jan 01 16:11:36 2010 +0000
+++ b/Project/LexerAssociationDialog.py	Sat Jan 02 15:11:35 2010 +0000
@@ -16,7 +16,7 @@
 
 import QScintilla.Lexers
 
-from Ui_LexerAssociationDialog import Ui_LexerAssociationDialog
+from .Ui_LexerAssociationDialog import Ui_LexerAssociationDialog
 
 class LexerAssociationDialog(QDialog, Ui_LexerAssociationDialog):
     """
@@ -52,7 +52,7 @@
         
         # set initial values
         self.project = project
-        for ext, lexer in self.project.pdata["LEXERASSOCS"].items():
+        for ext, lexer in list(self.project.pdata["LEXERASSOCS"].items()):
             QTreeWidgetItem(self.editorLexerList, [ext, lexer])
         self.editorLexerList.sortByColumn(0, Qt.AscendingOrder)
     

eric ide

mercurial