Skip to content

Commit b288d38

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

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/app/qgisapp.cpp

Lines changed: 3 additions & 0 deletions
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)