Skip to content
Permalink
Browse files

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

(cherry picked from commit b38b39c)
  • Loading branch information
alexbruy committed Feb 1, 2019
1 parent cb3e909 commit b2ee8c0637d69015a4ffb9a5d476e9f6d54e023c
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 b2ee8c0

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