Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix #3313
git-svn-id: http://svn.osgeo.org/qgis/trunk@15018 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Jan 11, 2011
1 parent 73c98aa commit c98d8d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/attributetable/qgsattributetabledelegate.cpp
Expand Up @@ -60,7 +60,7 @@ int QgsAttributeTableDelegate::featureId( const QModelIndex &index ) const

const QgsAttributeTableFilterModel *fm = dynamic_cast<const QgsAttributeTableFilterModel *>( index.model() );
if ( fm )
return fm->tableModel()->rowToId( index.row() );
return fm->tableModel()->rowToId( fm->mapToSource( index ).row() );

return -1;
}
Expand Down

0 comments on commit c98d8d9

Please sign in to comment.