mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
fix move feature action not correctly shown in customization
This commit is contained in:
parent
54a6586c85
commit
762a15a863
@ -2970,8 +2970,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 ) );
|
||||
|
Loading…
x
Reference in New Issue
Block a user