Skip to content

Commit 762a15a

Browse files
committedNov 6, 2018
fix move feature action not correctly shown in customization
1 parent 54a6586 commit 762a15a

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
@@ -2970,8 +2970,9 @@ void QgisApp::createToolBars()
29702970
break;
29712971
};
29722972
moveFeatureButton->setDefaultAction( defAction );
2973+
QAction *moveToolAction = mAdvancedDigitizeToolBar->insertWidget( mActionRotateFeature, moveFeatureButton );
2974+
moveToolAction->setObjectName( QStringLiteral( "ActionMoveFeatureTool" ) );
29732975
connect( moveFeatureButton, &QToolButton::triggered, this, &QgisApp::toolButtonActionTriggered );
2974-
mAdvancedDigitizeToolBar->insertWidget( mActionRotateFeature, moveFeatureButton );
29752976

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

0 commit comments

Comments
 (0)
Please sign in to comment.