Skip to content

Commit

Permalink
fix #4732
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n authored and alexbruy committed Jan 28, 2012
1 parent dd37e47 commit a908cc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/attributetable/qgsattributetablemodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ Qt::ItemFlags QgsAttributeTableModel::flags( const QModelIndex &index ) const

void QgsAttributeTableModel::reload( const QModelIndex &index1, const QModelIndex &index2 )
{
for( int row = index1.row(); row < index2.row(); row++ )
for( int row = index1.row(); row <= index2.row(); row++ )
{
QgsFeatureId fid = rowToId( row );
mFeatureMap.remove( fid );
Expand Down

0 comments on commit a908cc9

Please sign in to comment.