Skip to content

Commit

Permalink
gmoccapy: display tool diameter without localization
Browse files Browse the repository at this point in the history
  • Loading branch information
hansu committed Aug 19, 2024
1 parent d46bde2 commit 1231fe7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/emc/usr_intf/gmoccapy/gmoccapy.py
Original file line number Diff line number Diff line change
Expand Up @@ -3514,7 +3514,7 @@ def _update_toolinfo(self, tool):
# toolinfo[15] = tool orientation
# toolinfo[16] = tool info
self.widgets.lbl_tool_no.set_text(str(toolinfo[1]))
self.widgets.lbl_tool_dia.set_text(toolinfo[12])
self.widgets.lbl_tool_dia.set_text(locale.delocalize(toolinfo[12]))
self.halcomp["tool-diameter"] = float(locale.atof(toolinfo[12]))
self.widgets.lbl_tool_name.set_text(toolinfo[16])

Expand Down

0 comments on commit 1231fe7

Please sign in to comment.