Project/LexerAssociationDialog.py

changeset 4554
f3428ddd577c
parent 4021
195a471c327b
child 4631
5c1a96925da4
diff -r a6b2acd1a355 -r f3428ddd577c Project/LexerAssociationDialog.py
--- 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()

eric ide

mercurial