mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-02-24 04:00:02 +01:00
Fix deleting custom layouts when closing on SaveApply (#1512)
* Fix deleting custom layouts when closing on SaveApply * Only serialize if SaveApply, not on Cancel or X
This commit is contained in:
@@ -19,6 +19,8 @@ namespace FancyZonesEditor
|
||||
model.Persist();
|
||||
}
|
||||
|
||||
LayoutModel.SerializeDeletedCustomZoneSets();
|
||||
|
||||
_choosing = true;
|
||||
Close();
|
||||
EditorOverlay.Current.Close();
|
||||
|
||||
Reference in New Issue
Block a user