Skip to content

Commit 373b6bb

Browse files
DelazJnyalldawson
authored andcommitted
[needs-docs] Move the "move features" and "Copy and move features"
buttons to the Advanced Digitizing toolbar
1 parent c16e279 commit 373b6bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/qgisapp.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2812,7 +2812,7 @@ void QgisApp::createToolBars()
28122812
mShapeDigitizeToolBar->insertWidget( mActionVertexTool, tbAddRegularPolygon );
28132813

28142814
// move feature tool button
2815-
QToolButton *moveFeatureButton = new QToolButton( mDigitizeToolBar );
2815+
QToolButton *moveFeatureButton = new QToolButton( mAdvancedDigitizeToolBar );
28162816
moveFeatureButton->setPopupMode( QToolButton::MenuButtonPopup );
28172817
moveFeatureButton->addAction( mActionMoveFeature );
28182818
moveFeatureButton->addAction( mActionMoveFeatureCopy );
@@ -2828,7 +2828,7 @@ void QgisApp::createToolBars()
28282828
};
28292829
moveFeatureButton->setDefaultAction( defAction );
28302830
connect( moveFeatureButton, &QToolButton::triggered, this, &QgisApp::toolButtonActionTriggered );
2831-
mDigitizeToolBar->insertWidget( mActionVertexTool, moveFeatureButton );
2831+
mAdvancedDigitizeToolBar->insertWidget( mAdvancedDigitizingDockWidget->enableAction(), moveFeatureButton );
28322832

28332833
bt = new QToolButton();
28342834
bt->setPopupMode( QToolButton::MenuButtonPopup );

0 commit comments

Comments
 (0)