mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
don't update parameter info component if it has been disposed (IDEA-101557)
This commit is contained in:
@@ -274,7 +274,7 @@ public class ParameterInfoController {
|
||||
|
||||
if (elementForUpdating != null) {
|
||||
myHandler.updateParameterInfo(elementForUpdating, context);
|
||||
if (myHint.isVisible() && myEditor.getComponent().getRootPane() != null) {
|
||||
if (!myDisposed && myHint.isVisible() && myEditor.getComponent().getRootPane() != null) {
|
||||
myComponent.update();
|
||||
Pair<Point,Short> pos = myProvider.getBestPointPosition(myHint, (PsiElement)elementForUpdating, offset, true, HintManager.UNDER);
|
||||
HintManagerImpl.adjustEditorHintPosition(myHint, myEditor, pos.getFirst(), pos.getSecond());
|
||||
|
||||
Reference in New Issue
Block a user