fix: try to fix the issue that the branch tree did not update after deleting multiple branches (#729)

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo 2024-11-22 10:42:39 +08:00
parent 378e8d3ea3
commit c50508d4ac
No known key found for this signature in database

View file

@ -42,7 +42,12 @@ namespace SourceGit.ViewModels
}
}
CallUIThread(() => _repo.SetWatcherEnabled(true));
CallUIThread(() =>
{
_repo.MarkBranchesDirtyManually();
_repo.SetWatcherEnabled(true);
});
return true;
});
}