Skip to content
Permalink
Browse files

fix pasting features into vector layer from clipboard (fix #21154)

  • Loading branch information
alexbruy committed Feb 3, 2019
1 parent eba5409 commit b38b39cb43bffa80687a4742c3d7ef0f390eaeed
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgisapp.cpp
@@ -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 );
}

0 comments on commit b38b39c

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