mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 17:58:03 -06:00
FIX: fix some issues about CalibrationWizard
1. fix STUDIO-3238、STUDIO-3233、STUDIO-3138、STUDIO-3210 Change-Id: Id7586a8a7a9e4ea04c2616099759c3527acdb1de Change-Id: Ibb943e587edc464e2982bfee0d02a072dcf9ffd3
This commit is contained in:
parent
af770a87b8
commit
9b2e13a0fa
9 changed files with 419 additions and 87 deletions
|
@ -488,6 +488,13 @@ void CalibrationPanel::on_timer(wxTimerEvent& event) {
|
|||
update_all();
|
||||
}
|
||||
|
||||
void CalibrationPanel::update_print_error_info(int code, std::string msg, std::string extra) {
|
||||
for (int i = 0; i < m_tabpanel->GetPageCount(); i++) {
|
||||
if(m_tabpanel->GetPage(i))
|
||||
static_cast<CalibrationWizard*>(m_tabpanel->GetPage(i))->update_print_error_info(code, msg, extra);
|
||||
}
|
||||
}
|
||||
|
||||
void CalibrationPanel::update_all() {
|
||||
if (m_pa_panel) {
|
||||
m_pa_panel->update_printer();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue