mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
Fix dirty flag in Item Swap Window.
This commit is contained in:
parent
cc55ebb28f
commit
3eb35c479e
1 changed files with 3 additions and 1 deletions
|
|
@ -122,6 +122,8 @@ public class ItemSwapWindow : IDisposable
|
|||
_loadException = e;
|
||||
}
|
||||
}
|
||||
|
||||
_dirty = false;
|
||||
}
|
||||
|
||||
private static string SwapToString( Swap swap )
|
||||
|
|
@ -215,7 +217,7 @@ public class ItemSwapWindow : IDisposable
|
|||
using var tab = ImRaii.TabItem( newTab.ToString() );
|
||||
if( tab )
|
||||
{
|
||||
_dirty = _lastTab != newTab;
|
||||
_dirty |= _lastTab != newTab;
|
||||
_lastTab = newTab;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue