Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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