EA-38417 - NPE: ParameterInfoComponent.<init>

This commit is contained in:
Alexey Kudravtsev
2012-09-13 12:00:02 +04:00
parent 976e48d2fe
commit 64f29dec40
@@ -116,7 +116,7 @@ public class ShowParameterInfoContext implements CreateParameterInfoContext {
) {
if (ParameterInfoController.isAlreadyShown(editor, elementStart)) return;
if (editor.isDisposed()) return;
if (editor.isDisposed() || !editor.getComponent().isVisible()) return;
final ParameterInfoComponent component = new ParameterInfoComponent(descriptors, editor,handler);
component.setParameterOwner(element);
if (highlighted != null) {