mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
GP-4888 - Fixed action enablement
This commit is contained in:
@@ -70,7 +70,7 @@ public class FindReferencesToStructureFieldAction extends CompositeEditorTableAc
|
||||
@Override
|
||||
public boolean isEnabledForContext(ActionContext context) {
|
||||
setEnabled(false);
|
||||
if (!hasIncompleteFieldEntry()) {
|
||||
if (hasIncompleteFieldEntry()) {
|
||||
return false;
|
||||
}
|
||||
if (model.getSelectedComponentRows().length != 1) {
|
||||
|
||||
Reference in New Issue
Block a user