[APP] Fixed potential conflicting ImGUI ID in profile menu
This commit is contained in:
@@ -189,7 +189,7 @@ void ProfileConfigDialog::OnDraw(ImGuiIO& io) {
|
|||||||
ImGui::GetWindowPos().y);
|
ImGui::GetWindowPos().y);
|
||||||
|
|
||||||
for (auto& [xuid, account] : *profiles) {
|
for (auto& [xuid, account] : *profiles) {
|
||||||
ImGui::PushID(static_cast<int>(xuid));
|
ImGui::PushID(fmt::format("{:016X}", xuid).c_str());
|
||||||
|
|
||||||
const uint8_t user_index =
|
const uint8_t user_index =
|
||||||
profile_manager->GetUserIndexAssignedToProfile(xuid);
|
profile_manager->GetUserIndexAssignedToProfile(xuid);
|
||||||
|
|||||||
Reference in New Issue
Block a user