GP-4888 - Fixed action enablement

This commit is contained in:
dragonmacher 2024-08-31 11:30:57 -04:00
parent 3670d91d80
commit f094c9266f

View File

@ -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) {