mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 09:49:23 +02:00
Merge branch 'master' of
https://github.com/NationalSecurityAgency/ghidra into spell
This commit is contained in:
commit
74fae2f644
142 changed files with 1242 additions and 1568 deletions
|
@ -121,7 +121,6 @@ public class WindowActionManager {
|
|||
ComponentProvider provider = placeHolderForScheduledActionUpdate == null ? null
|
||||
: placeHolderForScheduledActionUpdate.getProvider();
|
||||
ActionContext localContext = provider == null ? null : provider.getActionContext(null);
|
||||
ActionContext globalContext = winMgr.getGlobalContext();
|
||||
if (localContext == null) {
|
||||
localContext = new ActionContext();
|
||||
}
|
||||
|
@ -132,9 +131,6 @@ public class WindowActionManager {
|
|||
if (action.isValidContext(localContext)) {
|
||||
action.setEnabled(action.isEnabledForContext(localContext));
|
||||
}
|
||||
else if (action.isValidGlobalContext(globalContext)) {
|
||||
action.setEnabled(action.isEnabledForContext(globalContext));
|
||||
}
|
||||
else {
|
||||
action.setEnabled(false);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue