diff options
-rw-r--r-- | org.eclipse.jface.text/src/org/eclipse/jface/text/contentassist/ContextInformationPopup.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.jface.text/src/org/eclipse/jface/text/contentassist/ContextInformationPopup.java b/org.eclipse.jface.text/src/org/eclipse/jface/text/contentassist/ContextInformationPopup.java index 600741249f0..611b509ece0 100644 --- a/org.eclipse.jface.text/src/org/eclipse/jface/text/contentassist/ContextInformationPopup.java +++ b/org.eclipse.jface.text/src/org/eclipse/jface/text/contentassist/ContextInformationPopup.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2015 IBM Corporation and others. + * Copyright (c) 2000, 2016 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -688,7 +688,7 @@ class ContextInformationPopup implements IContentAssistListener { */ public boolean hasFocus() { if (Helper.okToUse(fContextSelectorShell)) - return (fContextSelectorShell.isFocusControl() || fContextSelectorTable.isFocusControl()); + return fContextSelectorShell.getDisplay().getActiveShell() == fContextSelectorShell; return false; } |