Skip to content
Permalink
Browse files

[composer] Add shape items to layout menu (fix #12982)

  • Loading branch information
nyalldawson committed Jun 17, 2015
1 parent 4e663fe commit 1d6086c02e9ea785524b9dcdda7e2bbcdf2efd25
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/app/composer/qgscomposer.cpp
@@ -361,6 +361,11 @@ QgsComposer::QgsComposer( QgisApp *qgis, const QString& title )
layoutMenu->addAction( mActionAddNewScalebar );
layoutMenu->addAction( mActionAddNewLegend );
layoutMenu->addAction( mActionAddImage );
QMenu *shapeMenu = layoutMenu->addMenu( "Add Shape" );
shapeMenu->setIcon( QgsApplication::getThemeIcon( "/mActionAddBasicShape.png" ) );
shapeMenu->addAction( mActionAddRectangle );
shapeMenu->addAction( mActionAddTriangle );
shapeMenu->addAction( mActionAddEllipse );
layoutMenu->addAction( mActionAddArrow );
//layoutMenu->addAction( mActionAddTable );
layoutMenu->addAction( mActionAddAttributeTable );

0 comments on commit 1d6086c

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