mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-18 00:03:05 -04:00
[macos] move add button on the right in datasource manager
This commit is contained in:
parent
4c1e19c080
commit
f55347ff31
@ -39,6 +39,9 @@ void QgsAbstractDataSourceWidget::setupButtons( QDialogButtonBox *buttonBox )
|
||||
{
|
||||
|
||||
buttonBox->setStandardButtons( QDialogButtonBox::Apply | QDialogButtonBox::Close | QDialogButtonBox::Help );
|
||||
#ifdef Q_OS_MACX
|
||||
buttonBox->setStyleSheet( "* { button-layout: 2 }" );
|
||||
#endif
|
||||
mAddButton = buttonBox->button( QDialogButtonBox::Apply );
|
||||
mAddButton->setText( tr( "&Add" ) );
|
||||
mAddButton->setToolTip( tr( "Add selected layers to map" ) );
|
||||
|
Loading…
x
Reference in New Issue
Block a user