Skip to content

Commit

Permalink
Fix: Failed assertion when opening ascent with active filter
Browse files Browse the repository at this point in the history
  • Loading branch information
svetter committed Mar 14, 2024
1 parent 0e04148 commit de870ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/main_window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1721,7 +1721,7 @@ QPair<QSet<BufferRowIndex>, BufferRowIndex> MainWindow::getSelectedRows(const It
for (const QModelIndex& modelIndex : selectedModelIndices) {
const ViewRowIndex viewRowIndex = ViewRowIndex(modelIndex.row());
const BufferRowIndex bufferRowIndex = mapper.compTable->getBufferRowIndexForViewRow(viewRowIndex);
assert(bufferRowIndex.isValid(mapper.compTable->rowCount()));
assert(bufferRowIndex.isValid(mapper.baseTable.getNumberOfRows()));
selected.insert(bufferRowIndex);
}

Expand Down

0 comments on commit de870ee

Please sign in to comment.