Skip to content

Commit 0766e5b

Browse files
committed
Same order for new layer actions as menu
1 parent c66e4ff commit 0766e5b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/app/qgisapp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1880,8 +1880,8 @@ void QgisApp::createToolBars()
18801880

18811881
bt = new QToolButton();
18821882
bt->setPopupMode( QToolButton::MenuButtonPopup );
1883-
bt->addAction( mActionNewSpatiaLiteLayer );
18841883
bt->addAction( mActionNewVectorLayer );
1884+
bt->addAction( mActionNewSpatiaLiteLayer );
18851885
bt->addAction( mActionNewMemoryLayer );
18861886

18871887
QAction* defNewLayerAction = mActionNewVectorLayer;

src/app/qgswelcomepage.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ QgsWelcomePage::QgsWelcomePage( QWidget* parent )
3838

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

0 commit comments

Comments
 (0)