fix: reset current revision file content when selected commit changed

This commit is contained in:
leo 2024-06-12 12:13:45 +08:00
parent 2078886bc9
commit eab680ae55
No known key found for this signature in database
GPG key ID: B528468E49CD0E58

View file

@ -385,6 +385,7 @@ namespace SourceGit.ViewModels
FullMessage = string.Empty; FullMessage = string.Empty;
VisibleChanges = null; VisibleChanges = null;
SelectedChanges = null; SelectedChanges = null;
ViewRevisionFileContent = null;
if (_commit == null) if (_commit == null)
return; return;