Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix pasting features into vector layer from clipboard (fix #21154)
  • Loading branch information
alexbruy committed Feb 3, 2019
1 parent eba5409 commit b38b39c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgisapp.cpp
Expand Up @@ -8995,7 +8995,7 @@ void QgisApp::pasteFromClipboard( QgsMapLayer *destinationLayer )
}

QgsAttributeMap attrMap;
for ( int i = 0; i < feature.fields().count(); i++ )
for ( int i = 0; i < feature.attributes().count(); i++ )
{
attrMap[i] = feature.attribute( i );
}
Expand Down

0 comments on commit b38b39c

Please sign in to comment.