summaryrefslogtreecommitdiff
path: root/src/main/python/utils
diff options
context:
space:
mode:
authorrrsr282023-06-15 11:47:51 +0530
committerrrsr282023-06-15 11:47:51 +0530
commita1e135b5c0f208b7d96bbb780441687b6a353064 (patch)
treeabf1fe949781291ba4b80e4a827e9c532b628853 /src/main/python/utils
parentfdd51c066932fcb719135b29582ab866b09fb832 (diff)
downloadChemical-PFD-a1e135b5c0f208b7d96bbb780441687b6a353064.tar.gz
Chemical-PFD-a1e135b5c0f208b7d96bbb780441687b6a353064.tar.bz2
Chemical-PFD-a1e135b5c0f208b7d96bbb780441687b6a353064.zip
Modified the mouseReleaseEvent
Diffstat (limited to 'src/main/python/utils')
-rw-r--r--src/main/python/utils/graphics.py2
1 files changed, 1 insertions, 1 deletions
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