Binary file added python/plugins/fTools/icons/gis/merge_shapes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions python/plugins/fTools/resources.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@
<file>icons/gis/delaunay.png</file>
<file>icons/gis/layer_extent.png</file>
<file>icons/gis/voronoi.png</file>
<file>icons/gis/merge_shapes.png</file>
<file>icons/default/voronoi.png</file>
</qresource>
</RCC>
2 changes: 1 addition & 1 deletion src/app/attributetable/qgsattributetablemodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ void QgsAttributeTableModel::featureForm( QModelIndex &idx )
f.setFeatureId( rowToId( idx.row() ) );
for ( int i = 0; i < mAttributes.size(); i++ )
{
f.changeAttribute( i, data( index( idx.row(), i ), Qt::EditRole ) );
f.changeAttribute( mAttributes[i], data( index( idx.row(), i ), Qt::EditRole ) );
}

QgsFeatureAction action( tr( "Attributes changed" ), f, mLayer, -1, this );
Expand Down