Parcourir la source

Fixed messages on drawing completion with spacebar.

Juan Pablo Caram il y a 10 ans
Parent
commit
60461d0724
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  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':