Skip to content
Permalink
Browse files
independent interface customization for Vertex Tool Current and All L…
…ayers
  • Loading branch information
MorriganR authored and nyalldawson committed Jun 21, 2021
1 parent 2430173 commit c1f58132c930bf912c106bdedb4627458319ab74
Showing with 3 additions and 2 deletions.
  1. +3 −1 src/app/qgisapp.cpp
  2. +0 −1 src/ui/qgisapp.ui
@@ -3694,7 +3694,7 @@ void QgisApp::createToolBars()
connect( moveFeatureButton, &QToolButton::triggered, this, &QgisApp::toolButtonActionTriggered );

// vertex tool button
QToolButton *vertexToolButton = qobject_cast<QToolButton *>( mDigitizeToolBar->widgetForAction( mActionVertexTool ) );
QToolButton *vertexToolButton = new QToolButton( mDigitizeToolBar );
vertexToolButton->setPopupMode( QToolButton::MenuButtonPopup );
vertexToolButton->addAction( mActionVertexTool );
vertexToolButton->addAction( mActionVertexToolActiveLayer );
@@ -3709,6 +3709,8 @@ void QgisApp::createToolBars()
break;
}
vertexToolButton->setDefaultAction( defActionVertexTool );
QAction *ActionVertexTool = mDigitizeToolBar->insertWidget( mActionMultiEditAttributes, vertexToolButton );
ActionVertexTool->setObjectName( QStringLiteral( "ActionVertexTool" ) );
connect( vertexToolButton, &QToolButton::triggered, this, &QgisApp::toolButtonActionTriggered );

bt = new QToolButton();
@@ -507,7 +507,6 @@
<addaction name="mActionToggleEditing"/>
<addaction name="mActionSaveLayerEdits"/>
<addaction name="mActionAddFeature"/>
<addaction name="mActionVertexTool"/>
<addaction name="mActionMultiEditAttributes"/>
<addaction name="mActionDeleteSelected"/>
<addaction name="mActionCutFeatures"/>

0 comments on commit c1f5813

Please sign in to comment.