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

Commit b6959c7

Browse files
Putting UpdateLog back in Refresh Method; Removing from OnUpdated
1 parent 185573c commit b6959c7

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ public override void OnEnable()
7474
{
7575
base.OnEnable();
7676
AttachHandlers(Repository);
77-
UpdateLog();
7877
}
7978

8079
public override void OnDisable()
@@ -110,6 +109,12 @@ public override void OnGUI()
110109
OnEmbeddedGUI();
111110
}
112111

112+
public override void Refresh()
113+
{
114+
base.Refresh();
115+
UpdateLog();
116+
}
117+
113118
private void AttachHandlers(IRepository repository)
114119
{
115120
if (repository == null)

0 commit comments

Comments
 (0)