summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlaine2020-06-19 11:43:58 +0530
committerBlaine2020-06-19 11:43:58 +0530
commitcadf8eade6e9d1f5f1a1fe3205bccef41ca5e3e8 (patch)
treebb8b9739163233ccd1127c63e3dbf49722981014
parentadbe155abe6604b07c8ef076311f3e9e7a8268b0 (diff)
downloadChemical-PFD-cadf8eade6e9d1f5f1a1fe3205bccef41ca5e3e8.tar.gz
Chemical-PFD-cadf8eade6e9d1f5f1a1fe3205bccef41ca5e3e8.tar.bz2
Chemical-PFD-cadf8eade6e9d1f5f1a1fe3205bccef41ca5e3e8.zip
undo add 2
-rw-r--r--src/main/python/utils/undo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/python/utils/undo.py b/src/main/python/utils/undo.py
index 8426494..92a8de8 100644
--- a/src/main/python/utils/undo.py
+++ b/src/main/python/utils/undo.py
@@ -26,7 +26,7 @@ class addCommand(QUndoCommand):
self.scene = scene
self.diagramItem = addItem
self.itemPos = addItem.pos()
- self.setText(f"Add {objectName(self.diagramItem)}")
+ self.setText(f"Add {objectName(self.diagramItem)} at {self.itemPos.x()}, {self.itemPos.y()}")
def undo(self):
self.scene.removeItem(self.diagramItem)