Skip to content

Commit

Permalink
[composer] Add shape items to layout menu (fix #12982)
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jun 17, 2015
1 parent 4e663fe commit 1d6086c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/app/composer/qgscomposer.cpp
Expand Up @@ -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 );
Expand Down

0 comments on commit 1d6086c

Please sign in to comment.