mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 15:37:30 -06:00
FIX: sending progress bar
Change-Id: I165632ddaab1cb90ab4dd41310147d79f69562e8 (cherry picked from commit 28b8db496bb0d651f45508b44c64bfa2a0c30114)
This commit is contained in:
parent
361b26faf6
commit
988e4d9f84
2 changed files with 3 additions and 1 deletions
|
@ -1144,6 +1144,7 @@ void CalibrationPresetPage::show_status(CaliPresetPageStatus status)
|
||||||
Enable_Send_Button(false);
|
Enable_Send_Button(false);
|
||||||
}
|
}
|
||||||
else if (status == CaliPresetPageStatus::CaliPresetStatusNormal) {
|
else if (status == CaliPresetPageStatus::CaliPresetStatusNormal) {
|
||||||
|
m_sending_panel->Show(false);
|
||||||
update_print_status_msg(wxEmptyString, false);
|
update_print_status_msg(wxEmptyString, false);
|
||||||
Enable_Send_Button(true);
|
Enable_Send_Button(true);
|
||||||
}
|
}
|
||||||
|
|
|
@ -10845,6 +10845,7 @@ void Plater::send_calibration_job_finished(wxCommandEvent & evt)
|
||||||
if (calibration_panel) {
|
if (calibration_panel) {
|
||||||
auto curr_wizard = static_cast<CalibrationWizard*>(calibration_panel->get_tabpanel()->GetPage(evt.GetInt()));
|
auto curr_wizard = static_cast<CalibrationWizard*>(calibration_panel->get_tabpanel()->GetPage(evt.GetInt()));
|
||||||
wxCommandEvent event(EVT_CALIBRATION_JOB_FINISHED);
|
wxCommandEvent event(EVT_CALIBRATION_JOB_FINISHED);
|
||||||
|
event.SetString(evt.GetString());
|
||||||
event.SetEventObject(curr_wizard);
|
event.SetEventObject(curr_wizard);
|
||||||
wxPostEvent(curr_wizard, event);
|
wxPostEvent(curr_wizard, event);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue