mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
Same order for new layer actions as menu
This commit is contained in:
parent
c66e4ff625
commit
0766e5b766
@ -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 );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user