- added confirmation messages for toggle of HUD, Grid, Grid Snap, Axis

This commit is contained in:
Marius Stanciu
2020-05-18 22:10:45 +03:00
committed by Marius
parent 10cb6149fb
commit 49eb883cb1
4 changed files with 38 additions and 26 deletions

View File

@@ -4135,9 +4135,11 @@ class FlatCAMGeoEditor(QtCore.QObject):
# make sure that the cursor shape is enabled/disabled, too
if self.options['grid_snap'] is True:
self.app.inform.emit(_("Grid snap enabled."))
self.app.app_cursor.enabled = True
else:
self.app.app_cursor.enabled = False
self.app.inform.emit(_("Grid snap disabled."))
def on_canvas_click(self, event):
"""