Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Loskutov2016-04-16 07:31:14 -0400
committerMatthias Sohn2016-04-16 08:45:43 -0400
commit512e637152aeb6586329bbcf074c2f2aa17e94aa (patch)
tree4adcbe80e135600f834d9c6d85be0d5efe728ce1
parent7c5714aa23827760f24f8e6ff5bb10b1839849a2 (diff)
downloadegit-512e637152aeb6586329bbcf074c2f2aa17e94aa.tar.gz
egit-512e637152aeb6586329bbcf074c2f2aa17e94aa.tar.xz
egit-512e637152aeb6586329bbcf074c2f2aa17e94aa.zip
Git Staging selects more / other files than intended
Bug: 491309 Change-Id: Id80b794ef22888d5a05252adaabfa7067aa6d889 Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/staging/StagingView.java1
1 files changed, 0 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 0fbb21b44..c81ce5f7c 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
@@ -3304,7 +3304,6 @@ public class StagingView extends ViewPart implements IShowInSource {
public void setFocus() {
Tree tree = unstagedViewer.getTree();
if (tree.getItemCount() > 0) {
- tree.setSelection(tree.getItems());
unstagedViewer.getControl().setFocus();
return;
}

Back to the top