Project/LexerAssociationDialog.py

changeset 5616
adcffadf4962
parent 5599
033967644b1f
child 5736
000ea446ff4b
--- a/Project/LexerAssociationDialog.py	Thu Mar 16 19:30:15 2017 +0100
+++ b/Project/LexerAssociationDialog.py	Thu Mar 16 19:32:33 2017 +0100
@@ -86,7 +86,8 @@
                 ext, Qt.MatchFlags(Qt.MatchExactly), 0)
             if itmList:
                 index = self.editorLexerList.indexOfTopLevelItem(itmList[0])
-                itm = self.editorLexerList.takeTopLevelItem(index)      # __IGNORE_WARNING__
+                itm = self.editorLexerList.takeTopLevelItem(index)
+                # __IGNORE_WARNING__
                 del itm
             QTreeWidgetItem(self.editorLexerList, [ext, lexer])
             self.editorFileExtEdit.clear()
@@ -105,7 +106,8 @@
         itmList = self.editorLexerList.selectedItems()
         if itmList:
             index = self.editorLexerList.indexOfTopLevelItem(itmList[0])
-            itm = self.editorLexerList.takeTopLevelItem(index)      # __IGNORE_WARNING__
+            itm = self.editorLexerList.takeTopLevelItem(index)
+            # __IGNORE_WARNING__
             del itm
             
             self.editorLexerList.clearSelection()

eric ide

mercurial