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