Explorar o código

Fixed messages on drawing completion with spacebar.

Juan Pablo Caram %!s(int64=10) %!d(string=hai) anos
pai
achega
60461d0724
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      FlatCAMDraw.py

+ 3 - 0
FlatCAMDraw.py

@@ -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':