Skip to content

Commit b38b39c

Browse files
committedFeb 3, 2019
fix pasting features into vector layer from clipboard (fix #21154)
1 parent eba5409 commit b38b39c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/app/qgisapp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8995,7 +8995,7 @@ void QgisApp::pasteFromClipboard( QgsMapLayer *destinationLayer )
89958995
}
89968996

89978997
QgsAttributeMap attrMap;
8998-
for ( int i = 0; i < feature.fields().count(); i++ )
8998+
for ( int i = 0; i < feature.attributes().count(); i++ )
89998999
{
90009000
attrMap[i] = feature.attribute( i );
90019001
}

0 commit comments

Comments
 (0)
Please sign in to comment.