FIX:fixed issue with calibration progress

jira:[STUDIO-3592]

Change-Id: I54ff7141169f8d1e33f2c1711d464ce5d04877c2
This commit is contained in:
tao wang 2023-08-30 15:35:34 +08:00 committed by Lane.Wei
parent b5237c953c
commit c144d4e7d6
2 changed files with 9 additions and 0 deletions

View File

@ -450,6 +450,14 @@ void CalibrationCaliPage::set_cali_method(CalibrationMethod method)
}
}
bool CalibrationCaliPage::Show(bool show /*= true*/)
{
if (true) {
reset_printing_values();
}
return wxPanel::Show(show);
}
float CalibrationCaliPage::get_selected_calibration_nozzle_dia(MachineObject* obj)
{
// return selected if this is set

View File

@ -32,6 +32,7 @@ public:
void on_device_connected(MachineObject* obj) override;
void set_cali_method(CalibrationMethod method) override;
virtual bool Show(bool show = true) override;
protected:
float get_selected_calibration_nozzle_dia(MachineObject* obj);