--- a/Project/LexerAssociationDialog.py Sun Nov 08 17:01:39 2015 +0100 +++ b/Project/LexerAssociationDialog.py Thu Nov 12 19:17:05 2015 +0100 @@ -83,7 +83,7 @@ ext, Qt.MatchFlags(Qt.MatchExactly), 0) if itmList: index = self.editorLexerList.indexOfTopLevelItem(itmList[0]) - itm = self.editorLexerList.takeTopLevelItem(index) + itm = self.editorLexerList.takeTopLevelItem(index) # __IGNORE_WARNING__ del itm QTreeWidgetItem(self.editorLexerList, [ext, lexer]) self.editorFileExtEdit.clear() @@ -102,7 +102,7 @@ itmList = self.editorLexerList.selectedItems() if itmList: index = self.editorLexerList.indexOfTopLevelItem(itmList[0]) - itm = self.editorLexerList.takeTopLevelItem(index) + itm = self.editorLexerList.takeTopLevelItem(index) # __IGNORE_WARNING__ del itm self.editorLexerList.clearSelection()