mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-11 17:49:00 +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();
|
||||
if (m_agent)
|
||||
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);
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
@ -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) {
|
||||
GUI::wxGetApp().sidebar().load_ams_list(obj->dev_id, obj);
|
||||
obj->is_ams_need_update = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (GUI::wxGetApp().plater())
|
||||
GUI::wxGetApp().plater()->update_machine_sync_status();
|
||||
|
Loading…
x
Reference in New Issue
Block a user