mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 07:27:41 -06:00
FIX: only update ams list on selected machine
Change-Id: I7aac78ef1e10c0004651d3686f806d9d15d77d7a
This commit is contained in:
parent
11f74c21d3
commit
808a82300a
2 changed files with 3 additions and 1 deletions
|
@ -1735,7 +1735,7 @@ void GUI_App::init_networking_callbacks()
|
|||
|
||||
if (obj) {
|
||||
obj->parse_json(msg);
|
||||
if (obj->is_ams_need_update) {
|
||||
if (this->m_device_manager->get_selected_machine() == obj && obj->is_ams_need_update) {
|
||||
GUI::wxGetApp().sidebar().load_ams_list(obj->amsList);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue