Skip to content

Commit

Permalink
Fix #111 with AvalonDock.LayoutRoot doesn't know how to deserialize.
Browse files Browse the repository at this point in the history
  • Loading branch information
scdmitryvodich committed Feb 24, 2020
1 parent b44b663 commit f58e285
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/Components/AvalonDock/Layout/LayoutRoot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -816,6 +816,7 @@ private List<object> ReadElementList(XmlReader reader, bool isFloatingWindow)
{
var resultList = new List<object>();
while (reader.NodeType == XmlNodeType.Whitespace) reader.Read();
if (reader.NodeType == XmlNodeType.EndElement) return resultList;

if (reader.IsEmptyElement)
{
Expand Down

0 comments on commit f58e285

Please sign in to comment.