mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-26 21:17:20 -08:00
Unset current change-block in RefreshContent()
This commit is contained in:
parent
0007072789
commit
e0c219b46d
1 changed files with 2 additions and 0 deletions
|
@ -1509,6 +1509,8 @@ namespace SourceGit.Views
|
||||||
|
|
||||||
IsUnstagedChange = diff.Option.IsUnstaged;
|
IsUnstagedChange = diff.Option.IsUnstaged;
|
||||||
EnableChunkSelection = diff.Option.WorkingCopyChange != null;
|
EnableChunkSelection = diff.Option.WorkingCopyChange != null;
|
||||||
|
|
||||||
|
diff.CurrentChangeBlockIdx = -1; // Unset current change block.
|
||||||
}
|
}
|
||||||
|
|
||||||
private void OnStageChunk(object _1, RoutedEventArgs _2)
|
private void OnStageChunk(object _1, RoutedEventArgs _2)
|
||||||
|
|
Loading…
Reference in a new issue