diff options
author | Markus Keller | 2016-05-05 13:01:53 +0000 |
---|---|---|
committer | Dani Megert | 2016-05-05 13:01:53 +0000 |
commit | a42daa50b482b9f5f93b024be42757c427433f1e (patch) | |
tree | 664e8585c0c2adb56ee9eb42c4c348418e91bb14 | |
parent | 6b799159067d9d904353f767b5e118ae5a437427 (diff) | |
download | eclipse.platform.text-I20160508-2000.tar.gz eclipse.platform.text-I20160508-2000.tar.xz eclipse.platform.text-I20160508-2000.zip |
Fixed bug 466114: [content assist] Parameter Hints popup closes when attempting to resize on GTKY20160505-1000I20160511-2000I20160511-0400I20160510-2000I20160509-2000I20160508-2000I20160507-1500I20160506-2000I20160506-1030I20160506-0830I20160505-2000
Signed-off-by: Markus Keller <markus_keller@ch.ibm.com>
-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; } |