eric6/Graphics/PackageItem.py

changeset 8217
385f60c94548
parent 8143
2c730d5fd177
child 8218
7c09585bd960
--- a/eric6/Graphics/PackageItem.py	Sat Apr 10 17:54:58 2021 +0200
+++ b/eric6/Graphics/PackageItem.py	Sat Apr 10 18:31:17 2021 +0200
@@ -130,7 +130,7 @@
         height = self.header.boundingRect().height()
         if self.modules:
             width = max(width, self.modules.boundingRect().width())
-            height = height + self.modules.boundingRect().height()
+            height += self.modules.boundingRect().height()
         latchW = width / 3.0
         latchH = min(15.0, latchW)
         self.setSize(width + 2 * self.margin,

eric ide

mercurial