Skip to content

Commit

Permalink
Minor error handling for layout
Browse files Browse the repository at this point in the history
  • Loading branch information
rappen committed Aug 17, 2022
1 parent 17aea3a commit 636b216
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions FetchXmlBuilder/DockControls/ResultGrid.cs
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,10 @@ private void RefreshData()

internal void SetLayoutToGrid()
{
if (form.dockControlBuilder?.LayoutXML?.Cells == null)
{
return;
}
reloaded = true;
foreach (var cell in form.dockControlBuilder.LayoutXML.Cells)
{
Expand Down

0 comments on commit 636b216

Please sign in to comment.