- Geometry Editor: restored the old behavior: a tool is active until it is voluntarily exited: either by using the 'ESC' key, or selecting the Select tool or new: right click on canvas

- RELEASE 8.915
This commit is contained in:
Marius Stanciu
2019-05-01 22:28:33 +03:00
parent 53620007db
commit a98e6c3eda
3 changed files with 34 additions and 20 deletions

View File

@@ -3258,7 +3258,6 @@ class FlatCAMGrbEditor(QtCore.QObject):
# Selection with left mouse button
if self.active_tool is not None and event.button is 1:
# Dispatch event to active_tool
# msg = self.active_tool.click(self.app.geo_editor.snap(event.xdata, event.ydata))
msg = self.active_tool.click(self.app.geo_editor.snap(self.pos[0], self.pos[1]))
# If it is a shape generating tool