mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-02-22 20:42:34 -07:00
FIX: the machine status is not refreshed after unbinding
jira: STUDIO-10017 Change-Id: I351a17abac132369ecf342ffb79b17228d5ef250 (cherry picked from commit 4a01c840ab73a455e1580169f57c25b10fa9e85f)
This commit is contained in:
parent
4887de8cbe
commit
83971debef
2 changed files with 3 additions and 2 deletions
|
|
@ -5232,8 +5232,6 @@ int MachineObject::parse_json(std::string payload, bool key_field_only)
|
|||
}
|
||||
DeviceManager::update_local_machine(*this);
|
||||
|
||||
if (GUI::wxGetApp().plater())
|
||||
GUI::wxGetApp().plater()->update_machine_sync_status();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1816,6 +1816,9 @@ void GUI_App::init_networking_callbacks()
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (GUI::wxGetApp().plater())
|
||||
GUI::wxGetApp().plater()->update_machine_sync_status();
|
||||
});
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue