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:
leo
2025-07-22 21:16:53 +08:00
parent b345bb4668
commit 9802ac963c

View File

@@ -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);
});