Fix docked asset windows not getting restored after scripts compilation

This commit is contained in:
2025-04-07 22:37:45 +03:00
parent 99682ea9b2
commit 5fa54fd0d0

View File

@@ -838,8 +838,6 @@ namespace FlaxEditor.Modules
// risk of interrupting the user's workflow by potentially selecting
// background tabs.
var window = win.RootWindow?.Window;
if (window == null)
return;
var panel = win.ParentDockPanel;
winData.SelectOnShow = panel.SelectedTab == win;
winData.DockedTabIndex = 0;