Skip to content
Permalink
Browse files

Move "Add circular string" to regular shapes toolbar

It's not a basic digitizing tool
  • Loading branch information
m-kuhn committed Nov 30, 2017
1 parent 3b7d2e3 commit ed2e83cb69a83c4b82a0f5e1f6a1ac7cba01600c
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/app/qgisapp.cpp
@@ -2634,13 +2634,13 @@ void QgisApp::createToolBars()
}

//circular string digitize tool button
QToolButton *tbAddCircularString = new QToolButton( mDigitizeToolBar );
QToolButton *tbAddCircularString = new QToolButton( mRegularShapeDigitizeToolBar );
tbAddCircularString->setPopupMode( QToolButton::MenuButtonPopup );
tbAddCircularString->addAction( mActionCircularStringCurvePoint );
tbAddCircularString->addAction( mActionCircularStringRadius );
tbAddCircularString->setDefaultAction( mActionCircularStringCurvePoint );
connect( tbAddCircularString, &QToolButton::triggered, this, &QgisApp::toolButtonActionTriggered );
mDigitizeToolBar->insertWidget( mActionNodeTool, tbAddCircularString );
mRegularShapeDigitizeToolBar->insertWidget( mActionNodeTool, tbAddCircularString );

//circle digitize tool button
QToolButton *tbAddCircle = new QToolButton( mRegularShapeDigitizeToolBar );

0 comments on commit ed2e83c

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