Skip to content

Commit

Permalink
fix move feature action not correctly shown in customization
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Nov 6, 2018
1 parent cdf878d commit dfaf753
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/qgisapp.cpp
Expand Up @@ -2952,8 +2952,9 @@ void QgisApp::createToolBars()
break;
};
moveFeatureButton->setDefaultAction( defAction );
QAction *moveToolAction = mAdvancedDigitizeToolBar->insertWidget( mActionRotateFeature, moveFeatureButton );
moveToolAction->setObjectName( QStringLiteral( "ActionMoveFeatureTool" ) );
connect( moveFeatureButton, &QToolButton::triggered, this, &QgisApp::toolButtonActionTriggered );
mAdvancedDigitizeToolBar->insertWidget( mActionRotateFeature, moveFeatureButton );

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

0 comments on commit dfaf753

Please sign in to comment.