Skip to content

Commit 658f45a

Browse files
author
jef
committed
fix r13808
git-svn-id: http://svn.osgeo.org/qgis/trunk@13810 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 123cb5c commit 658f45a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/app/qgisapp.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -4511,6 +4511,9 @@ void QgisApp::editPaste( QgsMapLayer *destinationLayer )
45114511
int j = 0;
45124512
foreach( int id, srcMap.keys() )
45134513
{
4514+
if ( j >= dstAttr.size() )
4515+
break;
4516+
45144517
dstMap[ dstAttr[j++] ] = srcMap[id];
45154518
}
45164519

0 commit comments

Comments
 (0)