Skip to content
Permalink
Browse files
include geomcollection
  • Loading branch information
roya0045 authored and nyalldawson committed Jan 10, 2022
1 parent db0b556 commit fd1b81924310096706a7a74a2a963214b0277c10
Showing with 4 additions and 3 deletions.
  1. +4 −3 src/app/qgisapp.cpp
@@ -95,6 +95,7 @@
#include "qgsprojecttimesettings.h"
#include "qgsmaplayertemporalproperties.h"
#include "qgsmaplayerutils.h"
#include "qgsgeometrycollection.h"
#include "qgsmeshlayertemporalproperties.h"
#include "qgsvectorlayersavestyledialog.h"
#include "maptools/qgsappmaptools.h"
@@ -10295,9 +10296,9 @@ void QgisApp::mergeSelectedFeatures()
if ( ( c && c->partCount() > 1 ) || !unionGeom.convertToSingleType() )
{
visibleMessageBar()->pushMessage(
tr( "Merge failed" ),
tr( "Resulting geometry type (multipart) is incompatible with layer type (singlepart)." ),
Qgis::MessageLevel::Critical );
tr( "Merge failed" ),
tr( "Resulting geometry type (multipart) is incompatible with layer type (singlepart)." ),
Qgis::MessageLevel::Critical );
}
return;
}

0 comments on commit fd1b819

Please sign in to comment.