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:
stefansjfw
2020-03-09 23:06:39 +01:00
committed by GitHub
parent 6379c3210b
commit 965b098d66

View File

@@ -19,6 +19,8 @@ namespace FancyZonesEditor
model.Persist();
}
LayoutModel.SerializeDeletedCustomZoneSets();
_choosing = true;
Close();
EditorOverlay.Current.Close();