Skip to content

Commit

Permalink
Followup d088fe0: Fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed May 11, 2016
1 parent 1e9a40f commit 5a2ab50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/attributetable/qgsattributetablefiltermodel.cpp
Expand Up @@ -214,7 +214,7 @@ void QgsAttributeTableFilterModel::setSourceModel( QgsAttributeTableModel* sourc
{
mTableModel = sourceModel;

for ( int i = 0; i < mTableModel->columnCount(); ++i )
for ( int i = 0; i < mTableModel->columnCount() - mTableModel->extraColumns(); ++i )
{
mColumnMapping.append( i );
}
Expand Down

0 comments on commit 5a2ab50

Please sign in to comment.