diff options
author | rrsr28 | 2023-06-15 11:47:51 +0530 |
---|---|---|
committer | rrsr28 | 2023-06-15 11:47:51 +0530 |
commit | a1e135b5c0f208b7d96bbb780441687b6a353064 (patch) | |
tree | abf1fe949781291ba4b80e4a827e9c532b628853 /src/main/python/utils/graphics.py | |
parent | fdd51c066932fcb719135b29582ab866b09fb832 (diff) | |
download | Chemical-PFD-a1e135b5c0f208b7d96bbb780441687b6a353064.tar.gz Chemical-PFD-a1e135b5c0f208b7d96bbb780441687b6a353064.tar.bz2 Chemical-PFD-a1e135b5c0f208b7d96bbb780441687b6a353064.zip |
Modified the mouseReleaseEvent
Diffstat (limited to 'src/main/python/utils/graphics.py')
-rw-r--r-- | src/main/python/utils/graphics.py | 2 |
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 |