Skip to content

Commit 1295efc

Browse files
committed
add the new icons for duplication
for duplicate feature and duplicate feature digitize there are new icons. they are added to the project now.
1 parent 67abdd3 commit 1295efc

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

images/images.qrc

+2
Original file line numberDiff line numberDiff line change
@@ -618,6 +618,8 @@
618618
<file>themes/default/mIconPythonFile.svg</file>
619619
<file>themes/default/mIconQptFile.svg</file>
620620
<file>themes/default/mActionNewPage.svg</file>
621+
<file>themes/default/mActionDuplicateFeatureDigitized.svg</file>
622+
<file>themes/default/mActionDuplicateFeature.svg</file>
621623
</qresource>
622624
<qresource prefix="/images/tips">
623625
<file alias="symbol_levels.png">qgis_tips/symbol_levels.png</file>

src/app/qgisapp.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -7615,7 +7615,7 @@ void QgisApp::setupDuplicateFeaturesAction()
76157615
{
76167616
QgsMapLayerAction *action = new QgsMapLayerAction( QString( tr( "Duplicate feature" ) ),
76177617
this, QgsMapLayerAction::AllActions,
7618-
QgsApplication::getThemeIcon( QStringLiteral( "/mIconAtlas.svg" ) ) );
7618+
QgsApplication::getThemeIcon( QStringLiteral( "/mActionDuplicateFeature.svg" ) ) );
76197619

76207620
QgsGui::mapLayerActionRegistry()->addMapLayerAction( action );
76217621
connect( action, &QgsMapLayerAction::triggeredForFeature, this, [this]( QgsMapLayer * layer, const QgsFeature & feat )
@@ -7626,7 +7626,7 @@ void QgisApp::setupDuplicateFeaturesAction()
76267626

76277627
action = new QgsMapLayerAction( QString( tr( "Duplicate feature redigitized" ) ),
76287628
this, QgsMapLayerAction::AllActions,
7629-
QgsApplication::getThemeIcon( QStringLiteral( "/mIconAms.svg" ) ) );
7629+
QgsApplication::getThemeIcon( QStringLiteral( "/mActionDuplicateFeatureDigitized.svg" ) ) );
76307630

76317631
QgsGui::mapLayerActionRegistry()->addMapLayerAction( action );
76327632
connect( action, &QgsMapLayerAction::triggeredForFeature, this, [this]( QgsMapLayer * layer, const QgsFeature & feat )

0 commit comments

Comments
 (0)