- in Distance Plugin made sure that the 0.0 value for the angle is displayed

This commit is contained in:
Marius Stanciu
2022-03-11 14:55:59 +02:00
committed by Marius
parent a3a8fbf8d5
commit 30d899ad89
2 changed files with 2 additions and 1 deletions

View File

@@ -13,6 +13,7 @@ CHANGELOG for FlatCAM beta
- made sure that on canvas context menu pop-up, some actions are disabled if there is no object selected - made sure that on canvas context menu pop-up, some actions are disabled if there is no object selected
- made sure that on canvas context menu pop-up, if 'Properties' action is clicked and there is no object selected then the Properties tab is selected - made sure that on canvas context menu pop-up, if 'Properties' action is clicked and there is no object selected then the Properties tab is selected
- in the Grid Toolbar, the Grid Y entry is now by default hidden and shown only when there is a need (grid gap link is disabled) in order to maximize the status bar space availability - in the Grid Toolbar, the Grid Y entry is now by default hidden and shown only when there is a need (grid gap link is disabled) in order to maximize the status bar space availability
- in Distance Plugin made sure that the 0.0 value for the angle is displayed
10.03.2022 10.03.2022

View File

@@ -594,7 +594,7 @@ class Distance(AppTool):
return angle return angle
def display_angle(self, val): def display_angle(self, val):
if val: if val is not None:
self.ui.angle_entry.set_value(str(self.app.dec_format(val, self.decimals))) self.ui.angle_entry.set_value(str(self.app.dec_format(val, self.decimals)))
def display_start(self, val): def display_start(self, val):