mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2025-12-12 18:27:24 +01:00
Small fix for deleting fixed designs.
This commit is contained in:
parent
6209132ab3
commit
aacc6f007f
1 changed files with 2 additions and 1 deletions
|
|
@ -61,8 +61,9 @@ namespace Glamourer.Gui
|
||||||
raii.PushFont(UiBuilder.IconFont);
|
raii.PushFont(UiBuilder.IconFont);
|
||||||
if (ImGui.Button($"{FontAwesomeIcon.Trash.ToIconChar()}##{i}"))
|
if (ImGui.Button($"{FontAwesomeIcon.Trash.ToIconChar()}##{i}"))
|
||||||
{
|
{
|
||||||
_fullPathCache.RemoveAt(i);
|
_fullPathCache.RemoveAt(i--);
|
||||||
_plugin.FixedDesigns.Remove(name);
|
_plugin.FixedDesigns.Remove(name);
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
var tmp = name.Enabled;
|
var tmp = name.Enabled;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue