diff options
author | Eric Moffatt | 2012-05-25 20:14:46 +0000 |
---|---|---|
committer | John Arthorne | 2012-05-25 20:14:46 +0000 |
commit | 40f322457790733e83a03de9ccc2ca1abc0abef7 (patch) | |
tree | 93b95ec34be5e0996cf88676fba4e199bf79793c | |
parent | faedcac33a8b8d3300a9bd46a784ae2250e528d7 (diff) | |
download | eclipse.platform.ui-40f322457790733e83a03de9ccc2ca1abc0abef7.tar.gz eclipse.platform.ui-40f322457790733e83a03de9ccc2ca1abc0abef7.tar.xz eclipse.platform.ui-40f322457790733e83a03de9ccc2ca1abc0abef7.zip |
Bug 379818 - Inconsistent activation of viewsv20120525-2014I20120527-1900I20120526-1900I20120525-1900
-rw-r--r-- | bundles/org.eclipse.e4.ui.workbench.swt/src/org/eclipse/e4/ui/internal/workbench/swt/PartRenderingEngine.java | 3 |
1 files changed, 2 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 2abfe4ccd47..f5cf47ba7af 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 @@ -532,7 +532,8 @@ public class PartRenderingEngine implements IPresentationEngine { if (currentWidget instanceof Control) { Control control = (Control) currentWidget; // make sure the control is visible - control.setVisible(true); + if (!(element instanceof MPlaceholder)) + control.setVisible(true); if (parentWidget instanceof Composite) { Composite currentParent = control.getParent(); |