FIX: show sending progress bar & fix a crash

Change-Id: If8d0cd018aa842410c663cd23a2a092caa41384f
(cherry picked from commit 1c581b95f22512c8367ac26fc74f3a764b15e45d)
This commit is contained in:
liz.li 2023-07-04 11:19:49 +08:00 committed by Lane.Wei
parent 289dec3997
commit 8f1c289d42
2 changed files with 4 additions and 7 deletions

View file

@ -616,7 +616,6 @@ void FlowRateWizard::on_cali_action(wxCommandEvent& evt)
else if (action == CaliPageActionType::CALI_ACTION_CALI) {
if (m_cali_method == CalibrationMethod::CALI_METHOD_AUTO) {
on_cali_start();
// show next step when print job is sending finished.
show_step(m_curr_step->next);
}
else if (m_cali_method == CalibrationMethod::CALI_METHOD_MANUAL) {
@ -628,7 +627,7 @@ void FlowRateWizard::on_cali_action(wxCommandEvent& evt)
// set next step page
m_curr_step->chain(cali_fine_step);
}
show_step(m_curr_step->next);
// automatically jump to next step when print job is sending finished.
}
else {
on_cali_start();
@ -644,7 +643,7 @@ void FlowRateWizard::on_cali_action(wxCommandEvent& evt)
return;
}
on_cali_start(CaliPresetStage::CALI_MANUAL_STAGE_2, new_flow_ratio);
show_step(m_curr_step->next);
// automatically jump to next step when print job is sending finished.
}
}
else if (action == CaliPageActionType::CALI_ACTION_FLOW_SAVE) {