diff --git a/source/Components/AvalonDock/DockingManager.cs b/source/Components/AvalonDock/DockingManager.cs index f42c91fd..f0837ca9 100644 --- a/source/Components/AvalonDock/DockingManager.cs +++ b/source/Components/AvalonDock/DockingManager.cs @@ -1497,7 +1497,7 @@ public LayoutFloatingWindowControl CreateFloatingWindow(LayoutContent contentMod FloatingWidth = contentModel.FloatingWidth, FloatingHeight = contentModel.FloatingHeight }; - _ = CreateFloatingWindowForLayoutAnchorableWithoutParent(pane, isContentImmutable); + return CreateFloatingWindowForLayoutAnchorableWithoutParent(pane, isContentImmutable); } }