diff options
author | pravindalve | 2020-06-12 12:49:53 +0530 |
---|---|---|
committer | GitHub | 2020-06-12 12:49:53 +0530 |
commit | 7d2d686209e3c0cf7e869088f14678ce309fe7dd (patch) | |
tree | feb418bd92e1da5f6caf0dbe8a1fe93439813e70 /src/main/python/shapes | |
parent | b70d765b41d9de58cbe9411b8420a44a7e1f10e2 (diff) | |
parent | d3bb58bc5d77b02d2102c6a59151cff6beee662f (diff) | |
download | Chemical-PFD-7d2d686209e3c0cf7e869088f14678ce309fe7dd.tar.gz Chemical-PFD-7d2d686209e3c0cf7e869088f14678ce309fe7dd.tar.bz2 Chemical-PFD-7d2d686209e3c0cf7e869088f14678ce309fe7dd.zip |
Merge pull request #18 from Blakeinstein/master
side view + canvas overhaul
Diffstat (limited to 'src/main/python/shapes')
-rw-r--r-- | src/main/python/shapes/shapes.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/python/shapes/shapes.py b/src/main/python/shapes/shapes.py index e0263ab..6d06cba 100644 --- a/src/main/python/shapes/shapes.py +++ b/src/main/python/shapes/shapes.py @@ -525,10 +525,10 @@ class NodeItem(QGraphicsSvgItem): :return: """ contextMenu = QMenu() - addLableAction = contextMenu.addAction("add Label") - # addLableAction.triggered.connect(self.addLabel) + addLabelAction = contextMenu.addAction("add Label") + # addLabelAction.triggered.connect(self.addLabel) action = contextMenu.exec_(event.screenPos()) - if action == addLableAction: + if action == addLabelAction: self.label = ItemLabel(event.scenePos(), self) def __getstate__(self): |