mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2025-12-12 18:27:24 +01:00
Fix removing of associated mods except the last.
This commit is contained in:
parent
8080dc6129
commit
f7d775633d
1 changed files with 3 additions and 1 deletions
|
|
@ -69,7 +69,9 @@ public class ModAssociationsTab
|
||||||
foreach (var ((mod, settings), idx) in _selector.Selected!.AssociatedMods.WithIndex())
|
foreach (var ((mod, settings), idx) in _selector.Selected!.AssociatedMods.WithIndex())
|
||||||
{
|
{
|
||||||
using var id = ImRaii.PushId(idx);
|
using var id = ImRaii.PushId(idx);
|
||||||
DrawAssociatedModRow(mod, settings, out removedMod);
|
DrawAssociatedModRow(mod, settings, out var removedModTmp);
|
||||||
|
if (removedModTmp.HasValue)
|
||||||
|
removedMod = removedModTmp;
|
||||||
}
|
}
|
||||||
|
|
||||||
DrawNewModRow();
|
DrawNewModRow();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue