فهرست منبع

Fixed messages on drawing completion with spacebar.

Juan Pablo Caram 10 سال پیش
والد
کامیت
60461d0724
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      FlatCAMDraw.py

+ 3 - 0
FlatCAMDraw.py

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