Skip to content

Commit dfaf753

Browse files
committedNov 6, 2018
fix move feature action not correctly shown in customization
1 parent cdf878d commit dfaf753

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎src/app/qgisapp.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2952,8 +2952,9 @@ void QgisApp::createToolBars()
29522952
break;
29532953
};
29542954
moveFeatureButton->setDefaultAction( defAction );
2955+
QAction *moveToolAction = mAdvancedDigitizeToolBar->insertWidget( mActionRotateFeature, moveFeatureButton );
2956+
moveToolAction->setObjectName( QStringLiteral( "ActionMoveFeatureTool" ) );
29552957
connect( moveFeatureButton, &QToolButton::triggered, this, &QgisApp::toolButtonActionTriggered );
2956-
mAdvancedDigitizeToolBar->insertWidget( mActionRotateFeature, moveFeatureButton );
29572958

29582959
// vertex tool button
29592960
QToolButton *vertexToolButton = qobject_cast<QToolButton *>( mDigitizeToolBar->widgetForAction( mActionVertexTool ) );

0 commit comments

Comments
 (0)
Please sign in to comment.