mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 12:45:00 +00: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…
Add table
Add a link
Reference in a new issue