FIX: Flow calibration stage incorrect when switching printers
Jira: 6093 Change-Id: I41f1ac10ac9422ac808eab3254f32ea14a0d3b76
This commit is contained in:
parent
f10b585131
commit
ce09b062d7
|
@ -131,10 +131,12 @@ void CaliPresetCaliStagePanel::set_flow_ratio_value(float flow_ratio)
|
||||||
void CaliPresetCaliStagePanel::set_flow_ratio_calibration_type(FlowRatioCalibrationType type) {
|
void CaliPresetCaliStagePanel::set_flow_ratio_calibration_type(FlowRatioCalibrationType type) {
|
||||||
if (type == COMPLETE_CALIBRATION) {
|
if (type == COMPLETE_CALIBRATION) {
|
||||||
m_complete_radioBox->SetValue(true);
|
m_complete_radioBox->SetValue(true);
|
||||||
|
m_stage = CaliPresetStage::CALI_MANUAL_STAGE_1;
|
||||||
input_panel->Hide();
|
input_panel->Hide();
|
||||||
}
|
}
|
||||||
else if (type == FINE_CALIBRATION) {
|
else if (type == FINE_CALIBRATION) {
|
||||||
m_fine_radioBox->SetValue(true);
|
m_fine_radioBox->SetValue(true);
|
||||||
|
m_stage = CaliPresetStage::CALI_MANUAL_STAGE_2;
|
||||||
input_panel->Show();
|
input_panel->Show();
|
||||||
}
|
}
|
||||||
GetParent()->Layout();
|
GetParent()->Layout();
|
||||||
|
|
Loading…
Reference in New Issue