Skip to content
Permalink
Browse files

[needs-docs] Move the "move features" and "Copy and move features"

buttons to the Advanced Digitizing toolbar
  • Loading branch information
DelazJ authored and nyalldawson committed May 19, 2018
1 parent c16e279 commit 373b6bb9790ad0dd87f7c378489c29bf70b8c9c5
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/app/qgisapp.cpp
@@ -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 );
@@ -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 );

0 comments on commit 373b6bb

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