Skip to content
Permalink
Browse files

[needs-docs] Add welcome screen action to project menu

  • Loading branch information
NathanW2 committed Mar 5, 2018
1 parent 4ef667d commit 0e80b72d0c0e68a5b660ec34ce11b0903f80c353
Showing with 7 additions and 0 deletions.
  1. +1 −0 src/app/qgisapp.cpp
  2. +6 −0 src/ui/qgisapp.ui
@@ -1863,6 +1863,7 @@ void QgisApp::createActions()
connect( mActionNewBlankProject, &QAction::triggered, this, &QgisApp::fileNewBlank );
connect( mActionOpenProject, &QAction::triggered, this, &QgisApp::fileOpen );
connect( mActionSaveProject, &QAction::triggered, this, &QgisApp::fileSave );
connect( mActionWelcomePage, &QAction::triggered, this, [ = ] { mCentralContainer->setCurrentIndex( 1 ); } );
connect( mActionSaveProjectAs, &QAction::triggered, this, &QgisApp::fileSaveAs );
connect( mActionSaveMapAsImage, &QAction::triggered, this, [ = ] { saveMapAsImage(); } );
connect( mActionSaveMapAsPdf, &QAction::triggered, this, [ = ] { saveMapAsPdf(); } );
@@ -46,6 +46,7 @@
<addaction name="mActionOpenProject"/>
<addaction name="mProjectFromTemplateMenu"/>
<addaction name="mRecentProjectsMenu"/>
<addaction name="mActionWelcomePage"/>
<addaction name="separator"/>
<addaction name="mActionSaveProject"/>
<addaction name="mActionSaveProjectAs"/>
@@ -2959,6 +2960,11 @@ Acts on currently active editable layer</string>
<string>New Report</string>
</property>
</action>
<action name="mActionWelcomePage">
<property name="text">
<string>Welcome Page</string>
</property>
</action>
</widget>
<resources>
<include location="../../images/images.qrc"/>

1 comment on commit 0e80b72

@nyalldawson

This comment has been minimized.

Copy link
Collaborator

@nyalldawson nyalldawson commented on 0e80b72 Mar 5, 2018

🎉

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