File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -7451,8 +7451,8 @@ void QgisApp::setupLayoutManagerConnections()
7451
7451
7452
7452
void QgisApp::setupDuplicateFeaturesAction ()
7453
7453
{
7454
- mDuplicateFeatureAction .reset ( new QgsMapLayerAction ( QString ( tr ( " Duplicate feature" ) ),
7455
- this , QgsMapLayerAction::AllActions ,
7454
+ mDuplicateFeatureAction .reset ( new QgsMapLayerAction ( tr ( " Duplicate feature" ),
7455
+ nullptr , QgsMapLayerAction::SingleFeature ,
7456
7456
QgsApplication::getThemeIcon ( QStringLiteral ( " /mActionDuplicateFeature.svg" ) ) ) );
7457
7457
7458
7458
QgsGui::mapLayerActionRegistry ()->addMapLayerAction ( mDuplicateFeatureAction .get () );
@@ -7462,8 +7462,8 @@ void QgisApp::setupDuplicateFeaturesAction()
7462
7462
}
7463
7463
);
7464
7464
7465
- mDuplicateFeatureDigitizeAction .reset ( new QgsMapLayerAction ( QString ( tr ( " Duplicate feature and digitize" ) ),
7466
- this , QgsMapLayerAction::AllActions ,
7465
+ mDuplicateFeatureDigitizeAction .reset ( new QgsMapLayerAction ( tr ( " Duplicate feature and digitize" ),
7466
+ nullptr , QgsMapLayerAction::SingleFeature ,
7467
7467
QgsApplication::getThemeIcon ( QStringLiteral ( " /mActionDuplicateFeatureDigitized.svg" ) ) ) );
7468
7468
7469
7469
QgsGui::mapLayerActionRegistry ()->addMapLayerAction ( mDuplicateFeatureDigitizeAction .get () );
You can’t perform that action at this time.
0 commit comments