Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Keppler2018-06-23 02:18:03 -0400
committerThomas Wolf2018-06-24 05:31:38 -0400
commit573601e43a0fc5283dfa2a925970c86e35d2c1d9 (patch)
tree14442d9c3ad69ee1aa208b9e3da530b9b288ab4f /org.eclipse.egit.ui/src/org/eclipse/egit/ui
parent63ed3ff7e0987251832be70bba1eb630148529c9 (diff)
downloadegit-573601e43a0fc5283dfa2a925970c86e35d2c1d9.tar.gz
egit-573601e43a0fc5283dfa2a925970c86e35d2c1d9.tar.xz
egit-573601e43a0fc5283dfa2a925970c86e35d2c1d9.zip
StagingView wrongly sorted by state initially
While refactoring the sort toggle, its meaning was negated, but for one occurence the negation was not added in the code. Change-Id: I4380ba3ba64a3af21d9f02d5f8a8a325a5b91dda Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de> Bug:535749
Diffstat (limited to 'org.eclipse.egit.ui/src/org/eclipse/egit/ui')
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/staging/StagingView.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/staging/StagingView.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/staging/StagingView.java
index 9f1e88978..b76f0b478 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/staging/StagingView.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/staging/StagingView.java
@@ -2128,7 +2128,7 @@ public class StagingView extends ViewPart
}
});
viewer.addOpenListener(event -> compareWith(event));
- viewer.setComparator(new StagingEntryComparator(getSortCheckState(),
+ viewer.setComparator(new StagingEntryComparator(!getSortCheckState(),
getPreferenceStore()
.getBoolean(UIPreferences.STAGING_VIEW_FILENAME_MODE)));
viewer.addDoubleClickListener(event -> {

Back to the top