We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d82bf44 commit 33bfef7Copy full SHA for 33bfef7
src/app/attributetable/qgsattributetabledelegate.cpp
@@ -60,7 +60,7 @@ int QgsAttributeTableDelegate::featureId( const QModelIndex &index ) const
60
61
const QgsAttributeTableFilterModel *fm = dynamic_cast<const QgsAttributeTableFilterModel *>( index.model() );
62
if ( fm )
63
- return fm->tableModel()->rowToId( index.row() );
+ return fm->tableModel()->rowToId( fm->mapToSource( index ).row() );
64
65
return -1;
66
}
0 commit comments