mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-20 09:22:13 +00:00
FIX: refix flowrate fine cali lacks a sending progressbar
JIRA: STUDIO-4013 Change-Id: Ie4989c9bd5a587de480b07ea9977523151d2489c
This commit is contained in:
@@ -510,10 +510,15 @@ void CalibrationPanel::update_print_error_info(int code, std::string msg, std::s
|
||||
if (curr_selected >= 0 && curr_selected < CALI_MODE_COUNT) {
|
||||
if (m_cali_panels[curr_selected]) {
|
||||
auto page = m_cali_panels[curr_selected]->get_curr_step()->page;
|
||||
if(page && page->get_page_type() == CaliPageType::CALI_PAGE_PRESET){
|
||||
auto preset_page = static_cast<CalibrationPresetPage*>(page);
|
||||
//if (preset_page->get_page_status() == CaliPresetPageStatus::CaliPresetStatusSending)
|
||||
// ;// preset_page->update_print_error_info(code, msg, extra);
|
||||
if (page) {
|
||||
if (page->get_page_type() == CaliPageType::CALI_PAGE_PRESET) {
|
||||
auto preset_page = static_cast<CalibrationPresetPage*>(page);
|
||||
preset_page->update_print_error_info(code, msg, extra);
|
||||
}
|
||||
if (page->get_page_type() == CaliPageType::CALI_PAGE_COARSE_SAVE) {
|
||||
auto corase_page = static_cast<CalibrationFlowCoarseSavePage*>(page);
|
||||
corase_page->update_print_error_info(code, msg, extra);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user