Skip to content

Commit c50508d

Browse files
committed
fix: try to fix the issue that the branch tree did not update after deleting multiple branches (#729)
Signed-off-by: leo <[email protected]>
1 parent 378e8d3 commit c50508d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/ViewModels/DeleteMultipleBranches.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,12 @@ public override Task<bool> Sure()
4242
}
4343
}
4444

45-
CallUIThread(() => _repo.SetWatcherEnabled(true));
45+
CallUIThread(() =>
46+
{
47+
_repo.MarkBranchesDirtyManually();
48+
_repo.SetWatcherEnabled(true);
49+
});
50+
4651
return true;
4752
});
4853
}

0 commit comments

Comments
 (0)