[APP] Fixed potential conflicting ImGUI ID in profile menu

This commit is contained in:
Adrian
2026-03-02 16:47:18 +00:00
committed by Radosław Gliński
parent dbfe216754
commit 8351eec1ec

View File

@@ -189,7 +189,7 @@ void ProfileConfigDialog::OnDraw(ImGuiIO& io) {
ImGui::GetWindowPos().y);
for (auto& [xuid, account] : *profiles) {
ImGui::PushID(static_cast<int>(xuid));
ImGui::PushID(fmt::format("{:016X}", xuid).c_str());
const uint8_t user_index =
profile_manager->GetUserIndexAssignedToProfile(xuid);