Skip to content

Commit

Permalink
GP-60 corrected NPE in Structure Editor (Closes NationalSecurityAgenc…
Browse files Browse the repository at this point in the history
  • Loading branch information
ghidra1 committed Jun 10, 2022
1 parent f5a5bbf commit ac56db7
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -581,6 +581,9 @@ public boolean isDuplicateAllowed() {
// set actions based on number of items selected
int rowIndex = getRow();
DataTypeComponent comp = getComponent(rowIndex);
if (comp == null) {
return false;
}
DataType dt = comp.getDataType();
if (viewComposite.isPackingEnabled()) {
return true;
Expand Down

0 comments on commit ac56db7

Please sign in to comment.