FIX: the machine status is not refreshed after unbinding

jira: STUDIO-10017
Change-Id: I351a17abac132369ecf342ffb79b17228d5ef250
This commit is contained in:
zhimin.zeng 2025-01-20 11:08:37 +08:00 committed by lane.wei
parent 9e1a206d11
commit 4a01c840ab
2 changed files with 3 additions and 2 deletions

View File

@ -5202,8 +5202,6 @@ int MachineObject::parse_json(std::string payload, bool key_field_only)
BOOST_LOG_TRIVIAL(trace) << "parse_json timeout = " << diff.count();
}
if (GUI::wxGetApp().plater())
GUI::wxGetApp().plater()->update_machine_sync_status();
return 0;
}

View File

@ -2158,6 +2158,9 @@ void GUI_App::init_networking_callbacks()
}
}
}
if (GUI::wxGetApp().plater())
GUI::wxGetApp().plater()->update_machine_sync_status();
});
};