Skip to content
Permalink
Browse files
Correctly hookup modify annotation tool
  • Loading branch information
nyalldawson committed Sep 8, 2021
1 parent 01226a3 commit 310e46353a5ad3665be1fe76b8402bf6101c7bac
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/app/qgisapp.cpp
@@ -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 :

0 comments on commit 310e463

Please sign in to comment.