Small fix for deleting fixed designs.

This commit is contained in:
Ottermandias 2021-10-10 15:56:04 +02:00
parent 6209132ab3
commit aacc6f007f

View file

@ -61,8 +61,9 @@ namespace Glamourer.Gui
raii.PushFont(UiBuilder.IconFont);
if (ImGui.Button($"{FontAwesomeIcon.Trash.ToIconChar()}##{i}"))
{
_fullPathCache.RemoveAt(i);
_fullPathCache.RemoveAt(i--);
_plugin.FixedDesigns.Remove(name);
continue;
}
var tmp = name.Enabled;