Skip to content
Permalink
Browse files

fix move feature action not correctly shown in customization

  • Loading branch information
3nids committed Nov 6, 2018
1 parent cdf878d commit dfaf7538fbb46c01296d70da3e86e5ddae4adc1e
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/app/qgisapp.cpp
@@ -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 ) );

0 comments on commit dfaf753

Please sign in to comment.
You can’t perform that action at this time.