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

@ -670,10 +670,8 @@ void CalibrationPresetPage::create_page(wxWindow* parent)
m_top_sizer->Add(m_step_panel, 0, wxEXPAND, 0);
if (m_cali_mode == CalibMode::Calib_Flow_Rate) {
m_cali_stage_panel = new CaliPresetCaliStagePanel(parent);
m_top_sizer->Add(m_cali_stage_panel, 0);
}
m_cali_stage_panel = new CaliPresetCaliStagePanel(parent);
m_top_sizer->Add(m_cali_stage_panel, 0);
m_selection_panel = new wxPanel(parent);
create_selection_panel(m_selection_panel);