aboutsummaryrefslogtreecommitdiffstats
path: root/Lib/defconQt/glyphView.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/defconQt/glyphView.py')
-rw-r--r--Lib/defconQt/glyphView.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/defconQt/glyphView.py b/Lib/defconQt/glyphView.py
index e33ca99..fe340d1 100644
--- a/Lib/defconQt/glyphView.py
+++ b/Lib/defconQt/glyphView.py
@@ -208,13 +208,13 @@ class MainGfxWindow(QMainWindow):
self.adjustSize()
self.setContextMenuPolicy(Qt.ActionsContextMenu)
- createAnchorAction = QAction("Add Anchor Point", self)
+ createAnchorAction = QAction("Add Anchor…", self)
createAnchorAction.triggered.connect(self.view.createAnchor)
self.addAction(createAnchorAction)
- def close(self):
+ def closeEvent(self, event):
self.view._glyph.removeObserver(self, "Glyph.Changed")
- super(MainGfxWindow, self).close()
+ event.accept()
def _glyphChanged(self, notification):
self.view._glyphChanged(notification)