Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Wolf2020-05-13 13:06:20 +0000
committerThomas Wolf2020-05-14 06:21:52 +0000
commit3964b0de668519ed544a3e0ee7c76b1a96a1cf09 (patch)
tree49496faf8afb81a6335722e2d53c948862dde45b /org.eclipse.egit.ui/src/org/eclipse/egit/ui
parent1d4628f2f2859e3f5e7473cb6d864f5c29e07ee5 (diff)
downloadegit-3964b0de668519ed544a3e0ee7c76b1a96a1cf09.tar.gz
egit-3964b0de668519ed544a3e0ee7c76b1a96a1cf09.tar.xz
egit-3964b0de668519ed544a3e0ee7c76b1a96a1cf09.zip
CommitFileDiffViewer: fire SelectionChangedEvent after selectAll
Table.selectAll() does not send a SelectionChangedEvent. Update the viewer selection explicitly to provoke one. Bug: 563124 Change-Id: I869b99de5a10e89b346706192f54679830513be6 Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
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/history/CommitFileDiffViewer.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/CommitFileDiffViewer.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/CommitFileDiffViewer.java
index 3e355ed6b7..7d6032a5b2 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/CommitFileDiffViewer.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/CommitFileDiffViewer.java
@@ -655,6 +655,7 @@ public class CommitFileDiffViewer extends TableViewer {
Table table = getTable();
if (table != null) {
table.selectAll();
+ setSelection(getSelection());
}
}
}

Back to the top