src/eric7/Graphics/AssociationItem.py

branch
eric7
changeset 9624
b47dfa7a137d
parent 9473
3f23dbf37dbe
child 9653
e67609152c5e
--- a/src/eric7/Graphics/AssociationItem.py	Sun Dec 18 14:19:10 2022 +0100
+++ b/src/eric7/Graphics/AssociationItem.py	Sun Dec 18 19:33:46 2022 +0100
@@ -12,7 +12,7 @@
 from PyQt6.QtCore import QLineF, QPointF, QRectF
 from PyQt6.QtWidgets import QGraphicsItem
 
-from eric7 import Utilities
+from eric7 import Globals
 from eric7.EricGraphics.EricArrowItem import EricArrowItem, EricArrowType
 
 
@@ -596,7 +596,7 @@
                 elif key == "type":
                     assocType = AssociationType(int(value))
                 elif key == "topToBottom":
-                    topToBottom = Utilities.toBool(value)
+                    topToBottom = Globals.toBool(value)
 
         return src, dst, assocType, topToBottom
 

eric ide

mercurial