fix: use uuid of layouts in label

This commit is contained in:
Anna 2020-08-06 14:44:09 -04:00
parent 2655671682
commit 2de1d50e64
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ namespace HudSwap {
} else {
if (ImGui.ListBoxHeader("##saved-layouts")) {
foreach (KeyValuePair<Guid, Layout> entry in this.plugin.Config.Layouts2) {
if (ImGui.Selectable(entry.Value.Name, this.selectedLayout == entry.Key)) {
if (ImGui.Selectable($"{entry.Value.Name}##{entry.Key}", this.selectedLayout == entry.Key)) {
this.selectedLayout = entry.Key;
this.renameName = entry.Value.Name;
}