diff --git a/src/Dock.Model/FactoryBase.Dockable.cs b/src/Dock.Model/FactoryBase.Dockable.cs index b0b634c5..b5a9330b 100644 --- a/src/Dock.Model/FactoryBase.Dockable.cs +++ b/src/Dock.Model/FactoryBase.Dockable.cs @@ -755,7 +755,7 @@ private void UpdateIsEmpty(IDock dock) var newIsEmpty = dock.VisibleDockables == null || dock.VisibleDockables?.Count == 0 - || dock.VisibleDockables!.All(x => x is IDock { IsEmpty: true } or IProportionalDockSplitter); + || dock.VisibleDockables!.All(x => x is IDock { IsEmpty: true, IsCollapsable: true } or IProportionalDockSplitter); if (oldIsEmpty != newIsEmpty) {