Project/LexerAssociationDialog.py

changeset 690
a2f8b36625e6
parent 564
b3d966393ba9
child 791
9ec2ac20e54e
--- a/Project/LexerAssociationDialog.py	Wed Oct 20 20:48:10 2010 +0200
+++ b/Project/LexerAssociationDialog.py	Wed Oct 20 20:57:08 2010 +0200
@@ -78,7 +78,7 @@
                 index = self.editorLexerList.indexOfTopLevelItem(itmList[0])
                 itm = self.editorLexerList.takeTopLevelItem(index)
                 del itm
-            itm = QTreeWidgetItem(self.editorLexerList, [ext, lexer])
+            QTreeWidgetItem(self.editorLexerList, [ext, lexer])
             self.editorFileExtEdit.clear()
             self.editorLexerCombo.setCurrentIndex(0)
             self.pygmentsLexerCombo.setCurrentIndex(0)
@@ -155,4 +155,4 @@
         for index in range(self.editorLexerList.topLevelItemCount()):
             itm = self.editorLexerList.topLevelItem(index)
             pattern = itm.text(0)
-            self.project.pdata["LEXERASSOCS"][pattern] = itm.text(1)
\ No newline at end of file
+            self.project.pdata["LEXERASSOCS"][pattern] = itm.text(1)

eric ide

mercurial