Skip to content
Permalink
Browse files
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 33bfef79d8ac6355ced93728257cc2724498f084
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/attributetable/qgsattributetabledelegate.cpp
@@ -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;
}

0 comments on commit 33bfef7

Please sign in to comment.