mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-09-29 15:03:15 +08:00
FIX:confirm data validity before loading AMS
jira:[STUDIO-9577] Change-Id: Id0e9d3eef5527f45f25c5b9e8c8fc6e1d109fe29
This commit is contained in:
parent
9b1717fa56
commit
0ef08bc628
@ -468,7 +468,7 @@ bool MonitorPanel::Show(bool show)
|
|||||||
if (obj == nullptr) {
|
if (obj == nullptr) {
|
||||||
dev->load_last_machine();
|
dev->load_last_machine();
|
||||||
obj = dev->get_selected_machine();
|
obj = dev->get_selected_machine();
|
||||||
if (obj)
|
if (obj && obj->is_info_ready(false))
|
||||||
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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user