mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 10:49:34 +02:00
GP-734 - Fixed graph-related stack trace
This commit is contained in:
parent
108d3c6209
commit
79d437f66d
1 changed files with 8 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue