Quick fix for #2963

This commit is contained in:
Chandler Cox
2024-10-05 23:44:26 -05:00
parent 631ff14fc1
commit 13acf3c143

View File

@@ -139,6 +139,8 @@ namespace FlaxEditor.GUI.Docking
/// <inheritdoc /> /// <inheritdoc />
protected override void OnLastTabRemoved() protected override void OnLastTabRemoved()
{ {
if (ChildPanelsCount > 0)
return;
// Close window // Close window
_window?.Close(); _window?.Close();
} }