Skip to content
Permalink
Browse files

Merge pull request #9185 from alexbruy/fix-paste

fix pasting features into vector layer from clipboard (fix #21154)
  • Loading branch information
alexbruy committed Feb 17, 2019
2 parents cb3e909 + b2ee8c0 commit 12c660a51e6e78938a59d4684c5b289faec40b00
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgisapp.cpp
@@ -8801,7 +8801,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 12c660a

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