mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-23 10:22:13 +08:00
fix: should clear old issuetrackers when pressing F5 to reload whole repository (#1599)
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
@@ -744,6 +744,7 @@ namespace SourceGit.ViewModels
|
||||
var localIssueTrackers = await new Commands.IssueTracker(_fullpath, $"{_gitDir}/sourcegit.issuetracker").ReadAllAsync(false).ConfigureAwait(false);
|
||||
Dispatcher.UIThread.Post(() =>
|
||||
{
|
||||
IssueTrackers.Clear();
|
||||
IssueTrackers.AddRange(sharedIssueTrackers);
|
||||
IssueTrackers.AddRange(localIssueTrackers);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user