File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -5577,8 +5577,10 @@ void QgisApp::activateDeactivateLayerRelatedActions( QgsMapLayer* layer )
5577
5577
}
5578
5578
5579
5579
// merge tool needs editable layer and provider with the capability of adding and deleting features
5580
- if ( vlayer->isEditable () && ( dprovider->capabilities () & QgsVectorDataProvider::DeleteFeatures ) \
5581
- && QgsVectorDataProvider::AddFeatures )
5580
+ if ( vlayer->isEditable () &&
5581
+ (dprovider->capabilities () & QgsVectorDataProvider::DeleteFeatures) &&
5582
+ (dprovider->capabilities () & QgsVectorDataProvider::ChangeAttributeValues) &&
5583
+ (dprovider->capabilities () & QgsVectorDataProvider::AddFeatures) )
5582
5584
{
5583
5585
mActionMergeFeatures ->setEnabled ( layerHasSelection );
5584
5586
}
You can’t perform that action at this time.
0 commit comments