We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c199ff commit be032f7Copy full SHA for be032f7
src/app/qgisapp.cpp
@@ -5873,6 +5873,11 @@ void QgisApp::editPaste( QgsMapLayer *destinationLayer )
5873
// convert geometry to match destination layer
5874
QGis::GeometryType destType = pasteVectorLayer->geometryType();
5875
bool destIsMulti = QGis::isMultiType( pasteVectorLayer->wkbType() );
5876
+ if ( pasteVectorLayer->storageType() == "ESRI Shapefile" )
5877
+ {
5878
+ // force destination to multi if shapefile
5879
+ destIsMulti = true;
5880
+ }
5881
if ( destType != QGis::UnknownGeometry )
5882
{
5883
QgsGeometry* newGeometry = featureIt->geometry()->convertToType( destType, destIsMulti );
0 commit comments