Skip to content
Permalink
Browse files

Merge pull request #9065 from alexbruy/fix-paste

fix pasting features into vector layer from clipboard (fix #21154)
  • Loading branch information
m-kuhn committed Feb 7, 2019
2 parents dfa1680 + b38b39c commit 98ec32367221b215cadbae76ee5c9c55827eed7c
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgisapp.cpp
@@ -8997,7 +8997,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 );
}

0 comments on commit 98ec323

Please sign in to comment.
You can’t perform that action at this time.