mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-06 12:00:04 +02:00
Updated toggle action to match recent change
This commit is contained in:
parent
7daa822523
commit
294b95e343
1 changed files with 6 additions and 1 deletions
|
@ -360,7 +360,7 @@ public abstract class MultiStateDockingAction<T> extends DockingAction {
|
||||||
private final ActionState<T> actionState;
|
private final ActionState<T> actionState;
|
||||||
|
|
||||||
private ActionStateToggleAction(ActionState<T> actionState, boolean isSelected) {
|
private ActionStateToggleAction(ActionState<T> actionState, boolean isSelected) {
|
||||||
super(actionState.getName(), "multiStateAction");
|
super(actionState.getName(), "MultiStateAction");
|
||||||
|
|
||||||
this.actionState = actionState;
|
this.actionState = actionState;
|
||||||
|
|
||||||
|
@ -371,6 +371,11 @@ public abstract class MultiStateDockingAction<T> extends DockingAction {
|
||||||
if (helpLocation != null) {
|
if (helpLocation != null) {
|
||||||
setHelpLocation(helpLocation);
|
setHelpLocation(helpLocation);
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
HelpLocation parentHelp =
|
||||||
|
Help.getHelpService().getHelpLocation(MultiStateDockingAction.this);
|
||||||
|
setHelpLocation(parentHelp);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue