Fix imgui error for duplicate app name

This commit is contained in:
Patrick Nicolas
2025-09-27 17:11:17 +02:00
parent 5b6e20bdbe
commit a5bb9c2678
+1 -1
View File
@@ -647,7 +647,7 @@ void scenes::stream::gui_applications()
} }
ImGui::SetNextItemAllowOverlap(); ImGui::SetNextItemAllowOverlap();
const bool clicked = RadioButtonWithoutCheckBox( const bool clicked = RadioButtonWithoutCheckBox(
std::format("{}{}", app.active ? ICON_FA_CHEVRON_RIGHT " " : " ", app.name).c_str(), std::format("{}{}##{}", app.active ? ICON_FA_CHEVRON_RIGHT " " : " ", app.name, app.id).c_str(),
app.active, app.active,
button_size); button_size);
if (clicked and not(app.active or app.overlay)) if (clicked and not(app.active or app.overlay))