Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[macos] move add button on the right in datasource manager
  • Loading branch information
slarosa committed Mar 14, 2018
1 parent 4c1e19c commit f55347f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/gui/qgsabstractdatasourcewidget.cpp
Expand Up @@ -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" ) );
Expand Down

0 comments on commit f55347f

Please sign in to comment.