mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-15 11:17:53 +01:00
[FancyZones Editor] Fix the editor crash (#13463)
This commit is contained in:
@@ -419,7 +419,7 @@ namespace FancyZonesEditor
|
||||
{
|
||||
LayoutModel model = element.DataContext as LayoutModel;
|
||||
|
||||
if (model.Guid == _backup.Guid)
|
||||
if (_backup != null && model.Guid == _backup.Guid)
|
||||
{
|
||||
_backup = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user