mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
[needs-docs] Move the "move features" and "Copy and move features"
buttons to the Advanced Digitizing toolbar
This commit is contained in:
parent
c16e279851
commit
373b6bb979
@ -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 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user