mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-01-10 06:27:59 -05:00
Merge remote-tracking branch 'origin/GP-5431_ghidra1_BitfieldEditorNPE'
into patch (Closes #7865)
This commit is contained in:
@@ -751,7 +751,7 @@ public class BitFieldEditorPanel extends JPanel {
|
||||
}
|
||||
|
||||
ActionContext getActionContext(MouseEvent event) {
|
||||
if (placementComponent == event.getSource()) {
|
||||
if (event != null && placementComponent == event.getSource()) {
|
||||
Point p = event.getPoint();
|
||||
return new BitFieldEditorContext(getDataTypeComponent(p),
|
||||
placementComponent.getBitOffset(p));
|
||||
|
||||
Reference in New Issue
Block a user