Skip to content

Commit

Permalink
skip primary key column when pasting to spatialite layers (fixes #11322)
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Oct 20, 2014
1 parent 77b42cc commit 42d915e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/qgisapp.cpp
Expand Up @@ -6010,6 +6010,8 @@ void QgisApp::editPaste( QgsMapLayer *destinationLayer )
dstAttr[ dst ] = pasteVectorLayer->dataProvider()->defaultValue( dst );
if ( !dstAttr[ dst ].isNull() )
continue;
else if ( pasteVectorLayer->providerType() == "spatialite" )
continue;
}

dstAttr[ dst ] = srcAttr[ src ];
Expand Down

0 comments on commit 42d915e

Please sign in to comment.