mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-23 20:47:25 -08:00
fix<WorkingCopy>: can NOT use Models.Change.IsAddedToIndex to determin whether it's staged or not
This commit is contained in:
parent
5e593e4916
commit
f7b151969e
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ namespace SourceGit.Views.Widgets {
|
|||
|
||||
mergePanel.Visibility = Visibility.Collapsed;
|
||||
|
||||
if (change.IsAddedToIndex) {
|
||||
if (!container.IsUnstaged) {
|
||||
unstagedContainer.UnselectAll();
|
||||
|
||||
diffViewer.Diff(repo.Path, new DiffViewer.Option() {
|
||||
|
|
Loading…
Reference in a new issue