Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit d9acb7e

Browse files
committed
Correctly initialize GitHubPane
When opened via the ShowGitHubPane command. Fixes #355.
1 parent 1611cea commit d9acb7e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/GitHub.VisualStudio/UI/Views/GitHubPaneViewModel.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@ public override void Initialize(IServiceProvider serviceProvider)
8585
true);
8686

8787
initialized = true;
88+
89+
// The base Initialized call will have called RepoChanged(true) but at that point
90+
// initialized will have been false, so call it again now.
91+
RepoChanged(true);
8892
}
8993

9094
public void Initialize([AllowNull] ViewWithData data)

0 commit comments

Comments
 (0)