Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Moffatt2013-01-24 16:14:11 +0000
committerDani Megert2013-01-25 10:11:43 +0000
commita2e2f8837e95480a5d2f8584724ccd5d0761238c (patch)
tree1a8f8e94d7f1b21fae29e740f15ced65147a1223
parent3159984032ae4af0d8d6e76dbc01d0df21f41ef6 (diff)
downloadeclipse.platform.ui-a2e2f8837e95480a5d2f8584724ccd5d0761238c.tar.gz
eclipse.platform.ui-a2e2f8837e95480a5d2f8584724ccd5d0761238c.tar.xz
eclipse.platform.ui-a2e2f8837e95480a5d2f8584724ccd5d0761238c.zip
Updated Fix for Bug 394517 - Regression to 4.2&4.2.1: Editor fails to
acquire complete focus on activation (don't activate if already active)
-rw-r--r--bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/workbench/PartServiceImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/workbench/PartServiceImpl.java b/bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/workbench/PartServiceImpl.java
index 269a939ce8c..f58a329b505 100644
--- a/bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/workbench/PartServiceImpl.java
+++ b/bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/workbench/PartServiceImpl.java
@@ -322,7 +322,7 @@ public class PartServiceImpl implements EPartService {
activeParent = activePH.getParent();
}
}
- if (parent == activeParent) {
+ if (parent == activeParent && part != activePart) {
activate(part);
return;
}

Back to the top