commit | e7e383d3f50ab7286aefd5e88a1f7e64716553d8 | [log] [tgz] |
---|---|---|
author | jonas <jonas.helming@googlemail.com> | Mon Jul 01 18:17:41 2013 +0200 |
committer | jonas <jonas.helming@googlemail.com> | Mon Jul 01 18:17:41 2013 +0200 |
tree | 3fdb4581ef63e9c2cecb2ab22966f7821a34cf22 | |
parent | c20fbf8f0fe9e8beb8bb77f875ff65cd5695f99e [diff] |
Bug 412029 - Compat DIEditorPart disposes parent context on Eclipse 4 - fixed
diff --git a/bundles/org.eclipse.e4.tools.compat/src/org/eclipse/e4/tools/compat/parts/DIEditorPart.java b/bundles/org.eclipse.e4.tools.compat/src/org/eclipse/e4/tools/compat/parts/DIEditorPart.java index 0c99e15..c20e922 100644 --- a/bundles/org.eclipse.e4.tools.compat/src/org/eclipse/e4/tools/compat/parts/DIEditorPart.java +++ b/bundles/org.eclipse.e4.tools.compat/src/org/eclipse/e4/tools/compat/parts/DIEditorPart.java
@@ -153,7 +153,7 @@ // Check if running in 3.x, otherwise there was no dedicated context // created if (parentContext - .get("org.eclipse.e4.ui.workbench.IPresentationEngine") != null) { + .get("org.eclipse.e4.ui.workbench.IPresentationEngine") == null) { context.dispose(); context = null; }