mirror of
https://github.com/xivdev/Penumbra.git
synced 2026-02-21 23:37:47 +01:00
Add some delayed saves and UI for that.
This commit is contained in:
parent
e8eff51d84
commit
5ba43c1b19
9 changed files with 58 additions and 20 deletions
|
|
@ -170,7 +170,7 @@ public class ActiveCollections : ISavable, IDisposable
|
|||
public void MoveIndividualCollection(int from, int to)
|
||||
{
|
||||
if (Individuals.Move(from, to))
|
||||
_saveService.QueueSave(this);
|
||||
_saveService.DelaySave(this);
|
||||
}
|
||||
|
||||
/// <summary> Set and create an active collection, can be used to set Default, Current, Interface, Special, or Individual collections. </summary>
|
||||
|
|
@ -318,7 +318,7 @@ public class ActiveCollections : ISavable, IDisposable
|
|||
}
|
||||
else if (collectionType is not CollectionType.Temporary)
|
||||
{
|
||||
_saveService.QueueSave(this);
|
||||
_saveService.DelaySave(this);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue