--- a/src/eric7/Graphics/ClassItem.py Sun Dec 18 14:19:10 2022 +0100 +++ b/src/eric7/Graphics/ClassItem.py Sun Dec 18 19:33:46 2022 +0100 @@ -11,7 +11,7 @@ from PyQt6.QtGui import QFont from PyQt6.QtWidgets import QGraphicsSimpleTextItem, QStyle -from eric7 import Utilities +from eric7 import Globals from .UMLItem import UMLItem, UMLModel @@ -338,9 +338,9 @@ for part in parts: key, value = part.split("=", 1) if key == "is_external": - self.external = Utilities.toBool(value.strip()) + self.external = Globals.toBool(value.strip()) elif key == "no_attributes": - self.noAttrs = Utilities.toBool(value.strip()) + self.noAttrs = Globals.toBool(value.strip()) elif key == "name": name = value.strip() elif key == "attributes":