File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change @@ -6657,18 +6657,6 @@ void QgisApp::mergeSelectedFeatures()
6657
6657
return ;
6658
6658
}
6659
6659
6660
- // make a first geometry union and notify the user straight away if the union geometry type does not match the layer one
6661
- if ( providerChecksTypeStrictly && unionGeom->wkbType () != vl->wkbType () )
6662
- {
6663
- messageBar ()->pushMessage (
6664
- tr ( " Merge cancelled" ),
6665
- tr ( " The union operation would result in a geometry type that is not compatible with the current layer." ),
6666
- QgsMessageBar::CRITICAL );
6667
-
6668
- delete unionGeom;
6669
- return ;
6670
- }
6671
-
6672
6660
// merge the attributes together
6673
6661
QgsMergeAttributesDialog d ( featureList, vl, mapCanvas () );
6674
6662
if ( d.exec () == QDialog::Rejected )
@@ -6707,16 +6695,6 @@ void QgisApp::mergeSelectedFeatures()
6707
6695
}
6708
6696
return ;
6709
6697
}
6710
-
6711
- if ( providerChecksTypeStrictly && unionGeom->wkbType () != vl->wkbType () )
6712
- {
6713
- messageBar ()->pushMessage (
6714
- tr ( " Merge cancelled" ),
6715
- tr ( " The union operation would result in a geometry type that is not compatible with the current layer." ),
6716
- QgsMessageBar::CRITICAL );
6717
- delete unionGeom;
6718
- return ;
6719
- }
6720
6698
}
6721
6699
6722
6700
vl->beginEditCommand ( tr ( " Merged features" ) );
You can’t perform that action at this time.
0 commit comments