mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-128212 Alt+Click shows two popups
This commit is contained in:
+3
-1
@@ -104,6 +104,7 @@ public class XValueHint extends AbstractValueHint {
|
||||
public void evaluated(@NotNull final XValue result) {
|
||||
result.computePresentation(new XValueNodePresentationConfigurator.ConfigurableXValueNodeImpl() {
|
||||
private XFullValueEvaluator myFullValueEvaluator;
|
||||
private boolean myShown = false;
|
||||
|
||||
@Override
|
||||
public void applyPresentation(@Nullable Icon icon,
|
||||
@@ -131,7 +132,7 @@ public class XValueHint extends AbstractValueHint {
|
||||
}
|
||||
showHint(component);
|
||||
}
|
||||
else if (getType() == ValueHintType.MOUSE_CLICK_HINT) {
|
||||
else if (getType() == ValueHintType.MOUSE_CLICK_HINT && !myShown) {
|
||||
showTree(result);
|
||||
}
|
||||
else {
|
||||
@@ -143,6 +144,7 @@ public class XValueHint extends AbstractValueHint {
|
||||
});
|
||||
showHint(component);
|
||||
}
|
||||
myShown = true;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user