From 3e19a483cbcc54bf26c64ffbff8ef1fe889c2b71 Mon Sep 17 00:00:00 2001 From: "zhimin.zeng" Date: Wed, 20 Sep 2023 17:31:34 +0800 Subject: [PATCH] FIX: cali - The progress bar should not be displayed Jira: XXXX Change-Id: Ifcd8255bb03141b34bfa420126005955e2f14b32 --- src/slic3r/GUI/CalibrationWizard.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/slic3r/GUI/CalibrationWizard.cpp b/src/slic3r/GUI/CalibrationWizard.cpp index 3278c2622f..2405496287 100644 --- a/src/slic3r/GUI/CalibrationWizard.cpp +++ b/src/slic3r/GUI/CalibrationWizard.cpp @@ -583,6 +583,7 @@ void PressureAdvanceWizard::on_cali_start() if (!wx_err_string.empty()) { MessageDialog msg_dlg(nullptr, wx_err_string, wxEmptyString, wxICON_WARNING | wxOK); msg_dlg.ShowModal(); + return; } show_step(m_curr_step->next); @@ -645,6 +646,7 @@ void PressureAdvanceWizard::on_cali_start() if (!wx_err_string.empty()) { MessageDialog msg_dlg(nullptr, wx_err_string, wxEmptyString, wxICON_WARNING | wxOK); msg_dlg.ShowModal(); + return; } preset_page->on_cali_start_job(); @@ -943,6 +945,7 @@ void FlowRateWizard::on_cali_start(CaliPresetStage stage, float cali_value, Flow if (!wx_err_string.empty()) { MessageDialog msg_dlg(nullptr, wx_err_string, wxEmptyString, wxICON_WARNING | wxOK); msg_dlg.ShowModal(); + return; } show_step(m_curr_step->next); @@ -1007,6 +1010,7 @@ void FlowRateWizard::on_cali_start(CaliPresetStage stage, float cali_value, Flow if (!wx_err_string.empty()) { MessageDialog msg_dlg(nullptr, wx_err_string, wxEmptyString, wxICON_WARNING | wxOK); msg_dlg.ShowModal(); + return; } preset_page->on_cali_start_job(); if (temp_filament_preset) @@ -1344,6 +1348,7 @@ void MaxVolumetricSpeedWizard::on_cali_start() if (!wx_err_string.empty()) { MessageDialog msg_dlg(nullptr, wx_err_string, wxEmptyString, wxICON_WARNING | wxOK); msg_dlg.ShowModal(); + return; } preset_page->on_cali_start_job();