mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-09-29 11:23:14 +08:00
FIX:will not be selected printer again when leaving monitor page
jira:[none] Change-Id: Idf4c5ff385b0333bcfa24b68ecce01d460f53eec
This commit is contained in:
parent
062d4745dd
commit
7b9c9345ac
@ -471,17 +471,13 @@ bool MonitorPanel::Show(bool show)
|
|||||||
GUI::wxGetApp().sidebar().load_ams_list(obj->dev_id, obj);
|
GUI::wxGetApp().sidebar().load_ams_list(obj->dev_id, obj);
|
||||||
} else {
|
} else {
|
||||||
obj->reset_update_time();
|
obj->reset_update_time();
|
||||||
|
//select_machine(obj->dev_id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
stop_update();
|
stop_update();
|
||||||
m_refresh_timer->Stop();
|
m_refresh_timer->Stop();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (obj && !obj->dev_id.empty()) {
|
|
||||||
select_machine(obj->dev_id);
|
|
||||||
}
|
|
||||||
|
|
||||||
return wxPanel::Show(show);
|
return wxPanel::Show(show);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user