mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-12 06:58:59 +08:00
FIX: remove the restriction of load ams list
jira: [STUDIO-11667] Change-Id: I9bc22e24138431cb3d94feacd64396208463da2e
This commit is contained in:
parent
82664c05ba
commit
9da39db1d6
@ -2092,10 +2092,8 @@ void GUI_App::init_networking_callbacks()
|
|||||||
obj->command_get_access_code();
|
obj->command_get_access_code();
|
||||||
if (m_agent)
|
if (m_agent)
|
||||||
m_agent->install_device_cert(obj->dev_id, obj->is_lan_mode_printer());
|
m_agent->install_device_cert(obj->dev_id, obj->is_lan_mode_printer());
|
||||||
if (!is_enable_multi_machine()) {
|
|
||||||
GUI::wxGetApp().sidebar().load_ams_list(obj->dev_id, obj);
|
GUI::wxGetApp().sidebar().load_ams_list(obj->dev_id, obj);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -2205,13 +2203,11 @@ void GUI_App::init_networking_callbacks()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (!this->is_enable_multi_machine()) {
|
|
||||||
if ((sel == obj || sel == nullptr) && obj->is_ams_need_update) {
|
if ((sel == obj || sel == nullptr) && obj->is_ams_need_update) {
|
||||||
GUI::wxGetApp().sidebar().load_ams_list(obj->dev_id, obj);
|
GUI::wxGetApp().sidebar().load_ams_list(obj->dev_id, obj);
|
||||||
obj->is_ams_need_update = false;
|
obj->is_ams_need_update = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (GUI::wxGetApp().plater())
|
if (GUI::wxGetApp().plater())
|
||||||
GUI::wxGetApp().plater()->update_machine_sync_status();
|
GUI::wxGetApp().plater()->update_machine_sync_status();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user