Skip to content

Commit

Permalink
[needs-docs] Move the "move features" and "Copy and move features"
Browse files Browse the repository at this point in the history
buttons to the Advanced Digitizing toolbar
  • Loading branch information
DelazJ authored and nyalldawson committed May 28, 2018
1 parent c16e279 commit 373b6bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/qgisapp.cpp
Expand Up @@ -2812,7 +2812,7 @@ void QgisApp::createToolBars()
mShapeDigitizeToolBar->insertWidget( mActionVertexTool, tbAddRegularPolygon );

// move feature tool button
QToolButton *moveFeatureButton = new QToolButton( mDigitizeToolBar );
QToolButton *moveFeatureButton = new QToolButton( mAdvancedDigitizeToolBar );
moveFeatureButton->setPopupMode( QToolButton::MenuButtonPopup );
moveFeatureButton->addAction( mActionMoveFeature );
moveFeatureButton->addAction( mActionMoveFeatureCopy );
Expand All @@ -2828,7 +2828,7 @@ void QgisApp::createToolBars()
};
moveFeatureButton->setDefaultAction( defAction );
connect( moveFeatureButton, &QToolButton::triggered, this, &QgisApp::toolButtonActionTriggered );
mDigitizeToolBar->insertWidget( mActionVertexTool, moveFeatureButton );
mAdvancedDigitizeToolBar->insertWidget( mAdvancedDigitizingDockWidget->enableAction(), moveFeatureButton );

bt = new QToolButton();
bt->setPopupMode( QToolButton::MenuButtonPopup );
Expand Down

0 comments on commit 373b6bb

Please sign in to comment.