Skip to content

Commit

Permalink
Fixed Crash while loading (Deserialize) a layout with FLOATING DOCUME…
Browse files Browse the repository at this point in the history
…NT window.

NullReferenceException in LayoutDocumentFloatingWindowControl.OnInitialized
Issue/Resolution is similar to #1442:
xceedsoftware/wpftoolkit#1442

Missing initialization in 2nd constructor was missing:
_model = model;
UpdateThemeResources();
  • Loading branch information
Dirkster99 committed Feb 14, 2019
1 parent c4b6064 commit 66fb84b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ internal LayoutDocumentFloatingWindowControl( LayoutDocumentFloatingWindow model
internal LayoutDocumentFloatingWindowControl( LayoutDocumentFloatingWindow model )
: base( model, false )
{
_model = model;
UpdateThemeResources();
}

#endregion
Expand Down

0 comments on commit 66fb84b

Please sign in to comment.