FIX: support retry when flow rate cali failed

Jira: [STUDIO-14271]
Change-Id: I0aa52e97412f29de1630e19c13f57e93763f4c7c
(cherry picked from commit 161daf87cf1e80a7c6f8f9bc6d07435bf8b0f9d1)
This commit is contained in:
hemai
2025-09-04 21:28:45 +08:00
committed by Noisyfox
parent 164bd76762
commit c9f0bdb4b8
3 changed files with 7 additions and 2 deletions

View File

@@ -1206,6 +1206,7 @@ void CalibrationPresetPage::create_page(wxWindow* parent)
m_sending_panel->get_sending_progress_bar()->set_cancel_callback_fina([this]() {
on_cali_cancel_job();
});
m_sending_panel->Bind(EVT_SHOW_ERROR_FAIL_SEND, [this](auto &event){on_cali_cancel_job();});
m_sending_panel->Hide();
m_custom_range_panel = new CaliPresetCustomRangePanel(parent);