mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
Merge remote-tracking branch 'origin/GP-0-dragonmacher-test-fixes-4-2-26'
This commit is contained in:
@@ -249,8 +249,8 @@ public class GhidraScriptEditorComponentProvider extends ComponentProvider {
|
||||
|
||||
@Override
|
||||
public boolean isEnabledForContext(ActionContext context) {
|
||||
Object contextObject = context.getContextObject();
|
||||
if (contextObject != GhidraScriptEditorComponentProvider.this) {
|
||||
ComponentProvider contextProvider = context.getComponentProvider();
|
||||
if (contextProvider != GhidraScriptEditorComponentProvider.this) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -120,8 +120,12 @@ public class KeyBindingsModel {
|
||||
|
||||
String name = names.get(i);
|
||||
KeyBindingState state = actionInfoByFullName.get(name);
|
||||
String fullName = state.getFullName();
|
||||
sb.append(fullName);
|
||||
|
||||
// Note: we do not use state.getFullName() here as that only displays 'Shared' for
|
||||
// shared actions. We would like to see all shared action owners here.
|
||||
String shortName = state.getName();
|
||||
sb.append(shortName);
|
||||
sb.append(" (").append(state.getOwnerDescription()).append(')');
|
||||
if (i < names.size() - 1) {
|
||||
sb.append("\n");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user