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 = new QToolButton();
|
||||||
bt->setPopupMode( QToolButton::MenuButtonPopup );
|
bt->setPopupMode( QToolButton::MenuButtonPopup );
|
||||||
bt->addAction( mActionNewSpatiaLiteLayer );
|
|
||||||
bt->addAction( mActionNewVectorLayer );
|
bt->addAction( mActionNewVectorLayer );
|
||||||
|
bt->addAction( mActionNewSpatiaLiteLayer );
|
||||||
bt->addAction( mActionNewMemoryLayer );
|
bt->addAction( mActionNewMemoryLayer );
|
||||||
|
|
||||||
QAction* defNewLayerAction = mActionNewVectorLayer;
|
QAction* defNewLayerAction = mActionNewVectorLayer;
|
||||||
|
@ -38,7 +38,7 @@ QgsWelcomePage::QgsWelcomePage( QWidget* parent )
|
|||||||
|
|
||||||
QWidget* recentProjctsContainer = new QWidget;
|
QWidget* recentProjctsContainer = new QWidget;
|
||||||
recentProjctsContainer->setLayout( new QVBoxLayout );
|
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" ) ) );
|
QLabel* recentProjectsTitle = new QLabel( QString( "<h1>%1</h1>" ).arg( tr( "Recent Projects" ) ) );
|
||||||
recentProjctsContainer->layout()->addWidget( recentProjectsTitle );
|
recentProjctsContainer->layout()->addWidget( recentProjectsTitle );
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user