Merge remote-tracking branch 'origin/GP-734-dragonmacher-graph-stack-trace'

This commit is contained in:
ghidra1 2021-02-26 18:14:06 -05:00
commit 64fa8c99a2

View file

@ -15,6 +15,7 @@
*/
package ghidra.graph.viewer.popup;
import java.awt.Component;
import java.awt.Window;
import java.awt.event.*;
@ -129,6 +130,13 @@ public class PopupRegulator<V, E> {
return;
}
Component c = event.getComponent();
if (!c.isShowing()) {
// This method is called from a a timer. It is possible that the graph has been
// closed by the time this method is called.
return;
}
ToolTipInfo<?> toolTipInfo = popupSource.getToolTipInfo(event);
JComponent toolTipComponent = toolTipInfo.getToolTipComponent();
boolean isCustomJavaTooltip = !(toolTipComponent instanceof JToolTip);