- fixed some issues realted to the usage of the new confirmation message in FlatCAM Tools
- made sure that the FlatCAM Tools UI initialization is done only in set_tool_ui() method and not in the constructor
This commit is contained in:
@@ -263,8 +263,6 @@ class ToolCalibration(FlatCAMTool):
|
||||
self.bottom_left_coordy_found = EvalEntry()
|
||||
self.points_table.setCellWidget(row, 3, self.bottom_left_coordy_found)
|
||||
|
||||
self.bottom_left_coordx_found.set_value(_("Origin"))
|
||||
self.bottom_left_coordy_found.set_value(_("Origin"))
|
||||
self.bottom_left_coordx_found.setDisabled(True)
|
||||
self.bottom_left_coordy_found.setDisabled(True)
|
||||
row += 1
|
||||
@@ -770,6 +768,9 @@ class ToolCalibration(FlatCAMTool):
|
||||
if self.local_connected is True:
|
||||
self.disconnect_cal_events()
|
||||
|
||||
self.bottom_left_coordx_found.set_value(_("Origin"))
|
||||
self.bottom_left_coordy_found.set_value(_("Origin"))
|
||||
|
||||
self.reset_calibration_points()
|
||||
|
||||
self.cal_source_radio.set_value(self.app.defaults['tools_cal_calsource'])
|
||||
|
||||
Reference in New Issue
Block a user