diff options
author | Eric Moffatt | 2013-01-24 16:14:11 +0000 |
---|---|---|
committer | Dani Megert | 2013-01-25 10:11:43 +0000 |
commit | a2e2f8837e95480a5d2f8584724ccd5d0761238c (patch) | |
tree | 1a8f8e94d7f1b21fae29e740f15ced65147a1223 | |
parent | 3159984032ae4af0d8d6e76dbc01d0df21f41ef6 (diff) | |
download | eclipse.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.java | 2 |
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; } |