diff -r c114e9476034 -r 2f6df822e3b9 src/eric7/Graphics/AssociationItem.py --- a/src/eric7/Graphics/AssociationItem.py Sun Jun 30 15:37:49 2024 +0200 +++ b/src/eric7/Graphics/AssociationItem.py Sun Jun 30 17:58:31 2024 +0200 @@ -12,7 +12,7 @@ from PyQt6.QtCore import QLineF, QPointF, QRectF from PyQt6.QtWidgets import QGraphicsItem -from eric7 import Globals +from eric7 import EricUtilities from eric7.EricGraphics.EricArrowItem import EricArrowItem, EricArrowType @@ -596,7 +596,7 @@ elif key == "type": assocType = AssociationType(int(value)) elif key == "topToBottom": - topToBottom = Globals.toBool(value) + topToBottom = EricUtilities.toBool(value) return src, dst, assocType, topToBottom