aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvgeniy Gil2013-08-13 02:21:51 (EDT)
committerGerrit Code Review @ Eclipse.org2013-08-14 13:32:54 (EDT)
commita4a242259ce53cceb328b4715abd73da23550ce6 (patch)
tree5f80c20307e7f0c3d62f96f17f477eb85061cc63
parent53a177e83f86efd4b1e1ab1bd97013afa9102f75 (diff)
downloadeclipse.platform.ui-a4a242259ce53cceb328b4715abd73da23550ce6.zip
eclipse.platform.ui-a4a242259ce53cceb328b4715abd73da23550ce6.tar.gz
eclipse.platform.ui-a4a242259ce53cceb328b4715abd73da23550ce6.tar.bz2
Bug 399401 - Toolbars render in wrong location when perspective added torefs/changes/01/15401/3
a perspective-less workbench Change-Id: I0eacfbf788a318ca4af9ed38021da3d0cbe08416 Signed-off-by: Evgeniy Gil <egil@rocketsoftware.com>
-rw-r--r--bundles/org.eclipse.e4.ui.workbench.swt/src/org/eclipse/e4/ui/internal/workbench/swt/PartRenderingEngine.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.e4.ui.workbench.swt/src/org/eclipse/e4/ui/internal/workbench/swt/PartRenderingEngine.java b/bundles/org.eclipse.e4.ui.workbench.swt/src/org/eclipse/e4/ui/internal/workbench/swt/PartRenderingEngine.java
index 809a895..692acfa 100644
--- a/bundles/org.eclipse.e4.ui.workbench.swt/src/org/eclipse/e4/ui/internal/workbench/swt/PartRenderingEngine.java
+++ b/bundles/org.eclipse.e4.ui.workbench.swt/src/org/eclipse/e4/ui/internal/workbench/swt/PartRenderingEngine.java
@@ -386,7 +386,7 @@ public class PartRenderingEngine implements IPresentationEngine {
else
elementCtrl.moveAbove(null);
break;
- } else if (kid.getWidget() instanceof Control) {
+ } else if (kid.getWidget() instanceof Control && kid.isVisible()) {
prevCtrl = (Control) kid.getWidget();
}
}