src/eric7/Graphics/ClassItem.py

branch
eric7
changeset 10806
2f6df822e3b9
parent 10683
779cda568acb
child 11090
f5f5f5803935
diff -r c114e9476034 -r 2f6df822e3b9 src/eric7/Graphics/ClassItem.py
--- a/src/eric7/Graphics/ClassItem.py	Sun Jun 30 15:37:49 2024 +0200
+++ b/src/eric7/Graphics/ClassItem.py	Sun Jun 30 17:58:31 2024 +0200
@@ -11,7 +11,7 @@
 from PyQt6.QtGui import QFont
 from PyQt6.QtWidgets import QGraphicsSimpleTextItem, QStyle
 
-from eric7 import Globals
+from eric7 import EricUtilities
 
 from .UMLItem import UMLItem, UMLModel
 
@@ -338,9 +338,9 @@
         for part in parts:
             key, value = part.split("=", 1)
             if key == "is_external":
-                self.external = Globals.toBool(value.strip())
+                self.external = EricUtilities.toBool(value.strip())
             elif key == "no_attributes":
-                self.noAttrs = Globals.toBool(value.strip())
+                self.noAttrs = EricUtilities.toBool(value.strip())
             elif key == "name":
                 name = value.strip()
             elif key == "attributes":

eric ide

mercurial