eric7/EricWidgets/EricIconBar.py

branch
eric7
changeset 8725
842ba8a9dbbb
parent 8724
6ee36599a1f8
child 8768
09a4a3c5b161
--- a/eric7/EricWidgets/EricIconBar.py	Tue Oct 26 17:42:19 2021 +0200
+++ b/eric7/EricWidgets/EricIconBar.py	Tue Oct 26 17:43:17 2021 +0200
@@ -272,8 +272,6 @@
         """
         label = self.__layout.itemAt(index)
         if label:
-#            self.__layout.removeItem(label)
-#            self.__layout.removeWidget(label.widget())
             with contextlib.suppress(IndexError):
                 del self.__icons[index]
             itm = self.__layout.takeAt(index)

eric ide

mercurial