mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 10:49:34 +02:00
GT-3353 - Key bindings NPE fix
This commit is contained in:
parent
ee25a7d0cc
commit
9d58cb2514
2 changed files with 21 additions and 1 deletions
|
@ -304,7 +304,12 @@ public abstract class DockingAction implements DockingActionIf {
|
|||
return true;
|
||||
}
|
||||
|
||||
if (kbData.getKeyBindingPrecedence() == KeyBindingPrecedence.ReservedActionsLevel) {
|
||||
KeyBindingPrecedence precedence = null;
|
||||
if (kbData != null) {
|
||||
precedence = kbData.getKeyBindingPrecedence();
|
||||
}
|
||||
|
||||
if (precedence == KeyBindingPrecedence.ReservedActionsLevel) {
|
||||
return true; // reserved actions are special
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue