--- a/Preferences/ConfigurationPages/EditorHighlightersPage.py Sun Nov 08 17:01:39 2015 +0100 +++ b/Preferences/ConfigurationPages/EditorHighlightersPage.py Thu Nov 12 19:17:05 2015 +0100 @@ -94,7 +94,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() @@ -113,7 +113,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()