Skip to content

Commit

Permalink
Fixing smallbugs of Layout
Browse files Browse the repository at this point in the history
  • Loading branch information
rappen committed Aug 10, 2023
1 parent a9432ba commit 1d5bc5b
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions FetchXmlBuilder/FXBGui.cs
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,16 @@ internal void UpdateLiveXML(bool preventxmlupdate = false)
}
if (!preventxmlupdate && dockControlLayoutXml?.Visible == true)
{
dockControlBuilder.LayoutXML?.MakeSureAllCellsExistForAttributes();
dockControlLayoutXml.UpdateXML(dockControlBuilder.LayoutXML?.ToXML());
if (settings.Results.WorkWithLayout)
{
dockControlBuilder.LayoutXML?.MakeSureAllCellsExistForAttributes();
dockControlLayoutXml.UpdateXML(dockControlBuilder.LayoutXML?.ToXML());
}
else
{
dockControlLayoutXml.Close();
dockControlBuilder.LayoutXML = null;
}
}
if (dockControlGrid?.Visible == true)
{
Expand Down

0 comments on commit 1d5bc5b

Please sign in to comment.