diff --git a/src/modules/fancyzones/editor/FancyZonesEditor/CanvasZone.xaml.cs b/src/modules/fancyzones/editor/FancyZonesEditor/CanvasZone.xaml.cs index eb5495a83a..f55813bf4c 100644 --- a/src/modules/fancyzones/editor/FancyZonesEditor/CanvasZone.xaml.cs +++ b/src/modules/fancyzones/editor/FancyZonesEditor/CanvasZone.xaml.cs @@ -255,6 +255,11 @@ namespace FancyZonesEditor private void UpdateFromSnappyHelpers() { + if (ZoneIndex >= Model.Zones.Count) + { + return; + } + Int32Rect rect = Model.Zones[ZoneIndex]; if (snappyX != null)