IDEA-82025 Tree: Fix glitches with node tooltips

This commit is contained in:
Vassiliy Kudryashov
2012-03-13 19:24:29 +04:00
parent 1cf3949fa8
commit 5ec6154e30
@@ -139,7 +139,11 @@ public class IdeTooltipManager implements ApplicationComponent, AWTEventListener
if (!myCurrentTipIsCentered) {
myX = me.getX();
myY = me.getY();
maybeShowFor(c, me);
if (c instanceof JComponent && ((JComponent)c).getToolTipText(me) == null) {
hideCurrent(me, null, null);//There is no tooltip here, let's proceed it as MOUSE_EXITED
}
else
maybeShowFor(c, me);
}
}
} else if (myCurrentComponent == null && myQueuedComponent == null) {