From fbd926632474d3e2cabb24580b10e5fc58f32ccf Mon Sep 17 00:00:00 2001 From: Dirkster99 Date: Tue, 7 May 2019 21:44:55 +0200 Subject: [PATCH] Update LayoutAnchorable.cs Having second thoughts on setting PreviousContainer = null; since this would not work for the following workflow with MLib_Test: 0) Clean_All.bat 1) Load project in VS and rebuild 2) Start MLib_Test 3) Drag all Tool Windows by the title bar into floating state 4) Close the floating window with Hide (x) button 5) Exit application (layout is saved) 6) Re-start application (layout is loaded) Bug: The hidden Toolwindows cannot be re-shown with Tools>tool window toggle --- .../Components/Xceed.Wpf.AvalonDock/Layout/LayoutAnchorable.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Components/Xceed.Wpf.AvalonDock/Layout/LayoutAnchorable.cs b/source/Components/Xceed.Wpf.AvalonDock/Layout/LayoutAnchorable.cs index fa27e99f..29b8e0f4 100644 --- a/source/Components/Xceed.Wpf.AvalonDock/Layout/LayoutAnchorable.cs +++ b/source/Components/Xceed.Wpf.AvalonDock/Layout/LayoutAnchorable.cs @@ -770,7 +770,7 @@ private void UpdateParentVisibility() { // Go back to using previous parent Parent = PreviousContainer; - PreviousContainer = null; +//// PreviousContainer = null; } var parentPane = Parent as ILayoutElementWithVisibility;