mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-06 03:50:02 +02:00
Merge remote-tracking branch
'origin/GP-1628_ghidravore_fixing_stack_trace_on_null_mouse_event' (Closes #3797)
This commit is contained in:
commit
0ffe54ce29
1 changed files with 4 additions and 2 deletions
|
@ -239,8 +239,10 @@ public class ActionContext {
|
||||||
* @return this context
|
* @return this context
|
||||||
*/
|
*/
|
||||||
public ActionContext setMouseEvent(MouseEvent e) {
|
public ActionContext setMouseEvent(MouseEvent e) {
|
||||||
this.mouseEvent = e;
|
if (e != null) {
|
||||||
this.eventClickModifiers = e.getModifiersEx();
|
this.mouseEvent = e;
|
||||||
|
this.eventClickModifiers = e.getModifiersEx();
|
||||||
|
}
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue