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

Commit e49d090

Browse files
Adding missing OnEnable/OnDisable
1 parent 9692b2a commit e49d090

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,20 @@ public override void OnDataUpdate()
2929
gitPathView.OnDataUpdate();
3030
}
3131

32+
public override void OnEnable()
33+
{
34+
base.OnEnable();
35+
userSettingsView.OnEnable();
36+
gitPathView.OnEnable();
37+
}
38+
39+
public override void OnDisable()
40+
{
41+
base.OnDisable();
42+
userSettingsView.OnDisable();
43+
gitPathView.OnDisable();
44+
}
45+
3246
public override void OnGUI()
3347
{
3448
var headerRect = EditorGUILayout.BeginHorizontal(Styles.HeaderBoxStyle);

0 commit comments

Comments
 (0)