Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 16031fe

Browse files
Firing OnEnable when we switch the ActiveView
1 parent 474dcc7 commit 16031fe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/UnityExtension/Assets/Editor/GitHub.Unity/UI/PopupWindow.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ private void OpenInternal(PopupViewType popupViewType, Action<bool> onClose)
8888
}
8989

9090
ActiveViewType = popupViewType;
91+
ActiveView.OnEnable();
9192
titleContent = new GUIContent(ActiveView.Title, Styles.SmallLogo);
9293
Show();
9394
}

0 commit comments

Comments
 (0)