FIX:fixed issue with calibration progress
jira:[STUDIO-3592] Change-Id: I54ff7141169f8d1e33f2c1711d464ce5d04877c2
This commit is contained in:
parent
b5237c953c
commit
c144d4e7d6
|
@ -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)
|
float CalibrationCaliPage::get_selected_calibration_nozzle_dia(MachineObject* obj)
|
||||||
{
|
{
|
||||||
// return selected if this is set
|
// return selected if this is set
|
||||||
|
|
|
@ -32,6 +32,7 @@ public:
|
||||||
void on_device_connected(MachineObject* obj) override;
|
void on_device_connected(MachineObject* obj) override;
|
||||||
|
|
||||||
void set_cali_method(CalibrationMethod method) override;
|
void set_cali_method(CalibrationMethod method) override;
|
||||||
|
virtual bool Show(bool show = true) override;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
float get_selected_calibration_nozzle_dia(MachineObject* obj);
|
float get_selected_calibration_nozzle_dia(MachineObject* obj);
|
||||||
|
|
Loading…
Reference in New Issue