Skip to content

Commit 995708f

Browse files
committed
Fix EditWindows not refreshing
1 parent a94062f commit 995708f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Assets/MicroEngineer/Code/UI/EditWindowsController.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,10 @@ public void ToggleWindow(bool state)
393393
if (state)
394394
{
395395
Root.style.display = DisplayStyle.Flex;
396+
397+
_editableWindows.Clear();
398+
_editableWindows = FlightSceneController.Instance.GetEditableWindows();
399+
ResetSelectedWindow();
396400
}
397401
else
398402
{

0 commit comments

Comments
 (0)