mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-21 04:13:50 +00: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:
@@ -5232,8 +5232,6 @@ int MachineObject::parse_json(std::string payload, bool key_field_only)
|
|||||||
}
|
}
|
||||||
DeviceManager::update_local_machine(*this);
|
DeviceManager::update_local_machine(*this);
|
||||||
|
|
||||||
if (GUI::wxGetApp().plater())
|
|
||||||
GUI::wxGetApp().plater()->update_machine_sync_status();
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1816,6 +1816,9 @@ void GUI_App::init_networking_callbacks()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (GUI::wxGetApp().plater())
|
||||||
|
GUI::wxGetApp().plater()->update_machine_sync_status();
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user