Skip to content
Permalink
Browse files

skip primary key column when pasting to spatialite layers (fixes #11322)

  • Loading branch information
jef-n committed Oct 20, 2014
1 parent 77b42cc commit 42d915ef0f03e4f5fde04353a880e7ffaeeb4365
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/app/qgisapp.cpp
@@ -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 ];

0 comments on commit 42d915e

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