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/qgis@15018 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Jan 11, 2011
1 parent d82bf44 commit 33bfef7
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 33bfef7

Please sign in to comment.