Skip to content

Commit df73753

Browse files
committed
enhance: clear last view revision file info after commit changed
Signed-off-by: leo <[email protected]>
1 parent efa6e46 commit df73753

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ViewModels/CommitDetail.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -570,6 +570,8 @@ private void Refresh()
570570

571571
SignInfo = null;
572572
ViewRevisionFileContent = null;
573+
ViewRevisionFilePath = string.Empty;
574+
CanOpenRevisionFileWithDefaultEditor = false;
573575
Children = null;
574576
RevisionFileSearchFilter = string.Empty;
575577
RevisionFileSearchSuggestion = null;

0 commit comments

Comments
 (0)