Skip to content

Commit

Permalink
Fix: Crash when applying empty ID filter
Browse files Browse the repository at this point in the history
For #215
  • Loading branch information
svetter committed May 14, 2024
1 parent 60a77cf commit 160ef0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/comp_tables/composite_column.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ QSet<ValidItemID> ReferenceCompositeColumn::computeIDsAt(BufferRowIndex rowIndex

if (Q_UNLIKELY(targetRowIndex.isInvalid())) return {};

return { VALID_ITEM_ID(contentColumn.getValueAt(targetRowIndex)) };
return { VALID_ITEM_ID(table.baseTable.primaryKeyColumn.getValueAt(targetRowIndex)) };
}

/**
Expand Down

0 comments on commit 160ef0f

Please sign in to comment.