diff options
| author | Felipe Corrêa da Silva Sanches | 2015-10-01 22:00:21 -0300 | 
|---|---|---|
| committer | Felipe Corrêa da Silva Sanches | 2015-10-01 22:00:21 -0300 | 
| commit | c9b4454c3296c8096873fef371221ba5ac8972d7 (patch) | |
| tree | 2d2e39e2599f57e9ccdb4718f2731c3429da046c /Lib/defconQt/glyphView.py | |
| parent | 50339460bf7e9194090ca46c0b43e11e46f12088 (diff) | |
| download | trufont-c9b4454c3296c8096873fef371221ba5ac8972d7.tar.bz2 | |
fix wrong binding of connect event to the createAnchor function
Diffstat (limited to 'Lib/defconQt/glyphView.py')
| -rw-r--r-- | Lib/defconQt/glyphView.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/Lib/defconQt/glyphView.py b/Lib/defconQt/glyphView.py index 86bdd71..e33ca99 100644 --- a/Lib/defconQt/glyphView.py +++ b/Lib/defconQt/glyphView.py @@ -209,7 +209,7 @@ class MainGfxWindow(QMainWindow):          self.setContextMenuPolicy(Qt.ActionsContextMenu)          createAnchorAction = QAction("Add Anchor Point", self) -        createAnchorAction.triggered.connect(lambda: self.view.createAnchor(self.view.scene().cursorX , self.view.scene().cursorY)) +        createAnchorAction.triggered.connect(self.view.createAnchor)          self.addAction(createAnchorAction)      def close(self): | 
