Skip to content

Commit f55347f

Browse files
committedMar 14, 2018
[macos] move add button on the right in datasource manager
1 parent 4c1e19c commit f55347f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎src/gui/qgsabstractdatasourcewidget.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ void QgsAbstractDataSourceWidget::setupButtons( QDialogButtonBox *buttonBox )
3939
{
4040

4141
buttonBox->setStandardButtons( QDialogButtonBox::Apply | QDialogButtonBox::Close | QDialogButtonBox::Help );
42+
#ifdef Q_OS_MACX
43+
buttonBox->setStyleSheet( "* { button-layout: 2 }" );
44+
#endif
4245
mAddButton = buttonBox->button( QDialogButtonBox::Apply );
4346
mAddButton->setText( tr( "&Add" ) );
4447
mAddButton->setToolTip( tr( "Add selected layers to map" ) );

0 commit comments

Comments
 (0)
Please sign in to comment.