src/eric7/Plugins/ViewManagerPlugins/Listspace/Listspace.py

branch
eric7
changeset 10394
056d1b2cd3c4
parent 10380
7c14ccd2a0e1
child 10439
21c28b0f9e41
--- a/src/eric7/Plugins/ViewManagerPlugins/Listspace/Listspace.py	Thu Dec 07 10:32:10 2023 +0100
+++ b/src/eric7/Plugins/ViewManagerPlugins/Listspace/Listspace.py	Thu Dec 07 10:40:05 2023 +0100
@@ -852,8 +852,7 @@
         """
         index = self.contextMenuIndex
         for i in itertools.chain(
-            range(self.viewlist.count() - 1, index, -1),
-            range(index - 1, -1, -1)
+            range(self.viewlist.count() - 1, index, -1), range(index - 1, -1, -1)
         ):
             editor = self.editors[i]
             self.closeEditorWindow(editor)

eric ide

mercurial