Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarsten Thoms2017-09-15 00:21:55 +0000
committerLars Vogel2017-09-19 14:53:42 +0000
commita094046b191efc72bef93d227499cb75bc532e87 (patch)
tree90312efe1fcc766c79cd4032a87761447bd28e24
parent9bd6b4bc5f92f9582dadc1ccf23a7f02cbe4d637 (diff)
downloadeclipse.platform.text-I20170919-2000.tar.gz
eclipse.platform.text-I20170919-2000.tar.xz
eclipse.platform.text-I20170919-2000.zip
Change-Id: Iaeb53e25a7d200a4e1621586038e6995009e31a5 Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
-rw-r--r--org.eclipse.search/new search/org/eclipse/search2/internal/ui/basic/views/ExpandAllAction.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/org.eclipse.search/new search/org/eclipse/search2/internal/ui/basic/views/ExpandAllAction.java b/org.eclipse.search/new search/org/eclipse/search2/internal/ui/basic/views/ExpandAllAction.java
index f649eb24b..251fbf446 100644
--- a/org.eclipse.search/new search/org/eclipse/search2/internal/ui/basic/views/ExpandAllAction.java
+++ b/org.eclipse.search/new search/org/eclipse/search2/internal/ui/basic/views/ExpandAllAction.java
@@ -7,6 +7,7 @@
*
* Contributors:
* IBM Corporation - initial API and implementation
+ * Karsten Thoms <karsten.thoms@itemis.de> Bug 522335
*******************************************************************************/
package org.eclipse.search2.internal.ui.basic.views;
@@ -34,7 +35,12 @@ public class ExpandAllAction extends Action {
@Override
public void run() {
if (fViewer != null) {
- fViewer.expandAll();
+ fViewer.getTree().setRedraw(false);
+ try {
+ fViewer.expandAll();
+ } finally {
+ fViewer.getTree().setRedraw(true);
+ }
}
}
}

Back to the top