From a1e135b5c0f208b7d96bbb780441687b6a353064 Mon Sep 17 00:00:00 2001 From: rrsr28 Date: Thu, 15 Jun 2023 11:47:51 +0530 Subject: Modified the mouseReleaseEvent --- src/main/python/utils/graphics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/python/utils/graphics.py') diff --git a/src/main/python/utils/graphics.py b/src/main/python/utils/graphics.py index f80c653..a4b3916 100644 --- a/src/main/python/utils/graphics.py +++ b/src/main/python/utils/graphics.py @@ -157,7 +157,7 @@ class CustomScene(QGraphicsScene): for item in self.movingItems: if self.oldPositions[item] != item.pos(): # Item position has changed, invoke the callback function - self.itemMovedCallback(item, self.oldPositions[item]) + self.itemMoved(item, self.oldPositions[item]) self.movingItems.clear() # Clear the moving items list self.oldPositions.clear() # Clear the old positions dictionary -- cgit