mirror of
https://github.com/Denvi/FlatCAM.git
synced 2026-03-21 15:47:10 +01:00
Fixed messages on drawing completion with spacebar.
This commit is contained in:
@@ -1011,6 +1011,7 @@ class FlatCAMDraw(QtCore.QObject):
|
||||
self.active_tool.make()
|
||||
if self.active_tool.complete:
|
||||
self.on_shape_complete()
|
||||
self.app.info("Done.")
|
||||
return
|
||||
|
||||
### Abort the current action
|
||||
@@ -1037,12 +1038,14 @@ class FlatCAMDraw(QtCore.QObject):
|
||||
self.move_btn.setChecked(True)
|
||||
self.on_tool_select('move')
|
||||
self.active_tool.set_origin(self.snap(event.xdata, event.ydata))
|
||||
self.app.info("Click on target point.")
|
||||
|
||||
### Copy
|
||||
if event.key == 'c':
|
||||
self.copy_btn.setChecked(True)
|
||||
self.on_tool_select('copy')
|
||||
self.active_tool.set_origin(self.snap(event.xdata, event.ydata))
|
||||
self.app.info("Click on target point.")
|
||||
|
||||
### Snap
|
||||
if event.key == 'g':
|
||||
|
||||
Reference in New Issue
Block a user