aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPiotr Aniola2013-10-07 10:56:26 (EDT)
committerGerrit Code Review @ Eclipse.org2013-10-07 14:00:45 (EDT)
commit04f909bf76c151865e4647a514bb53846db4be6f (patch)
treebd4f86ec1cb2fbe646a3c1c6bccaa4bfe0368147
parent3151a509be6eae7055d9c0aaba2c9ecb0b3db6e6 (diff)
downloadeclipse.platform.ui-04f909bf76c151865e4647a514bb53846db4be6f.zip
eclipse.platform.ui-04f909bf76c151865e4647a514bb53846db4be6f.tar.gz
eclipse.platform.ui-04f909bf76c151865e4647a514bb53846db4be6f.tar.bz2
Bug 412285 - 'Show In' menu of view in detached window has 'Norefs/changes/12/17112/2
Applicable Views' Change-Id: I2bc0c310a1db20dbc54c60b7ef56b03ba60d068a Signed-off-by: Piotr Aniola <piotr.aniola@pl.ibm.com>
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/ShowInMenu.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/ShowInMenu.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/ShowInMenu.java
index 74c0cf7..1e2c647 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/ShowInMenu.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/ShowInMenu.java
@@ -310,7 +310,7 @@ public class ShowInMenu extends ContributionItem implements
if (window == null)
return null;
Shell shell = window.getShell();
- if (shell == null || shell != shell.getDisplay().getActiveShell())
+ if (shell == null)
return null;
IWorkbenchPage page = window.getActivePage();