Skip to content
Permalink
Browse files
Add New and Manager actions to new Composer menu in composer
  • Loading branch information
dakcarto committed Feb 20, 2013
1 parent be3bad3 commit 6e2f6133824b1445a0f1f2715915f432c94664e9
Showing with 4 additions and 0 deletions.
  1. +3 −0 src/app/composer/qgscomposer.cpp
  2. +1 −0 src/app/qgisapp.h
@@ -172,6 +172,9 @@ QgsComposer::QgsComposer( QgisApp *qgis, const QString& title )
QMenu *composerMenu = menuBar()->addMenu( tr( "Composer" ) );
composerMenu->addAction( mSaveProjectAction );
composerMenu->addSeparator();
composerMenu->addAction( QgisApp::instance()->actionNewPrintComposer() );
composerMenu->addAction( QgisApp::instance()->actionShowComposerManager() );
composerMenu->addSeparator();
composerMenu->addAction( mActionLoadFromTemplate );
composerMenu->addAction( mActionSaveAsTemplate );
composerMenu->addSeparator();
@@ -230,6 +230,7 @@ class QgisApp : public QMainWindow, private Ui::MainWindow
QAction *actionSaveProjectAs() { return mActionSaveProjectAs; }
QAction *actionSaveMapAsImage() { return mActionSaveMapAsImage; }
QAction *actionProjectProperties() { return mActionProjectProperties; }
QAction *actionShowComposerManager() { return mActionShowComposerManager; }
QAction *actionNewPrintComposer() { return mActionNewPrintComposer; }
QAction *actionExit() { return mActionExit; }

0 comments on commit 6e2f613

Please sign in to comment.