- fixed the workspace being always A4

- added a label in the status bar to show if the workplace is active and what size it is
This commit is contained in:
Marius Stanciu
2020-05-17 15:53:13 +03:00
committed by Marius
parent 29ce53b577
commit 0aeef246ea
6 changed files with 29 additions and 8 deletions

View File

@@ -486,6 +486,7 @@ class Distance(FlatCAMTool):
self.calculate_distance(pos=pos)
elif event.button == right_button and event_is_dragging is False:
self.deactivate_measure_tool()
self.app.inform.emit(_("Distance Tool cancelled."))
def calculate_distance(self, pos):
if len(self.points) == 1: