Skip to content

Commit

Permalink
Correctly hookup modify annotation tool
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Sep 8, 2021
1 parent 01226a3 commit 310e463
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/qgisapp.cpp
Expand Up @@ -2886,6 +2886,7 @@ void QgisApp::createActions()
connect( mActionDiagramProperties, &QAction::triggered, this, &QgisApp::diagramProperties );

connect( mActionCreateAnnotationLayer, &QAction::triggered, this, &QgisApp::createAnnotationLayer );
connect( mActionModifyAnnotation, &QAction::triggered, this, [ = ] { mMapCanvas->setMapTool( mMapTools->mapTool( QgsAppMapTools::AnnotationEdit ) ); } );

// we can't set the shortcut these actions, because we need to restrict their context to the canvas and it's children..
for ( QWidget *widget :
Expand Down

0 comments on commit 310e463

Please sign in to comment.