Skip to content

Commit

Permalink
Add New and Manager actions to new Composer menu in composer
Browse files Browse the repository at this point in the history
  • Loading branch information
dakcarto committed Feb 20, 2013
1 parent be3bad3 commit 6e2f613
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/composer/qgscomposer.cpp
Expand Up @@ -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();
Expand Down
1 change: 1 addition & 0 deletions src/app/qgisapp.h
Expand Up @@ -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; }

Expand Down

0 comments on commit 6e2f613

Please sign in to comment.