Skip to content
Permalink
Browse files

[macos] move add button on the right in datasource manager

  • Loading branch information
slarosa committed Mar 14, 2018
1 parent 4c1e19c commit f55347ff313ea7801e007788cac13aada189acb6
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/gui/qgsabstractdatasourcewidget.cpp
@@ -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" ) );

0 comments on commit f55347f

Please sign in to comment.
You can’t perform that action at this time.