Fix performing layout after changing selected tab

#3467 #3487
This commit is contained in:
Wojtek Figat
2025-06-02 13:17:51 +02:00
parent 6f37525674
commit eb90ab84f2

View File

@@ -47,6 +47,7 @@ namespace FlaxEditor.GUI.Tabs
if (EnabledInHierarchy && Tab.Enabled) if (EnabledInHierarchy && Tab.Enabled)
{ {
Tabs.SelectedTab = Tab; Tabs.SelectedTab = Tab;
Tab.PerformLayout(true);
Tabs.Focus(); Tabs.Focus();
} }
return true; return true;