fix: sometimes tags did not update after deleting selected tag (#908)

This commit is contained in:
leo
2025-01-15 10:42:35 +08:00
parent 53ec53a6ee
commit 8a472cb472
3 changed files with 23 additions and 1 deletions

View File

@@ -771,6 +771,19 @@ namespace SourceGit.ViewModels
}
}
public void MarkTagsDirtyManually()
{
if (_watcher == null)
{
Task.Run(RefreshTags);
Task.Run(RefreshCommits);
}
else
{
_watcher.MarkTagDirtyManually();
}
}
public void MarkWorkingCopyDirtyManually()
{
if (_watcher == null)