diff -r 8ed6155d4d65 -r a2f8b36625e6 Project/LexerAssociationDialog.py --- 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)