Skip to content
Permalink
Browse files

Same order for new layer actions as menu

  • Loading branch information
NathanW2 committed Dec 3, 2015
1 parent c66e4ff commit 0766e5b7660c384a5cd1e8b2d2d843bb67848e4a
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/app/qgisapp.cpp
  2. +1 −1 src/app/qgswelcomepage.cpp
@@ -1880,8 +1880,8 @@ void QgisApp::createToolBars()

bt = new QToolButton();
bt->setPopupMode( QToolButton::MenuButtonPopup );
bt->addAction( mActionNewSpatiaLiteLayer );
bt->addAction( mActionNewVectorLayer );
bt->addAction( mActionNewSpatiaLiteLayer );
bt->addAction( mActionNewMemoryLayer );

QAction* defNewLayerAction = mActionNewVectorLayer;
@@ -38,7 +38,7 @@ QgsWelcomePage::QgsWelcomePage( QWidget* parent )

QWidget* recentProjctsContainer = new QWidget;
recentProjctsContainer->setLayout( new QVBoxLayout );
recentProjctsContainer->layout()->setContentsMargins( 3, 3, 3, 3 );
recentProjctsContainer->layout()->setContentsMargins( 3, 3, 3, 0 );
QLabel* recentProjectsTitle = new QLabel( QString( "<h1>%1</h1>" ).arg( tr( "Recent Projects" ) ) );
recentProjctsContainer->layout()->addWidget( recentProjectsTitle );

0 comments on commit 0766e5b

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