Skip to content
Permalink
Browse files

[addlayerbutton] Show Add button in embedded spatialite dialog

  • Loading branch information
elpaso committed Jun 2, 2017
1 parent 143e0c6 commit a69d5122abfcb6b8a43d80b2c81871097518e939
Showing with 4 additions and 6 deletions.
  1. +4 −6 src/providers/spatialite/qgsspatialitesourceselect.cpp
@@ -71,12 +71,10 @@ QgsSpatiaLiteSourceSelect::QgsSpatiaLiteSourceSelect( QWidget *parent, Qt::Windo
buttonBox->removeButton( buttonBox->button( QDialogButtonBox::Close ) );
mHoldDialogOpen->hide();
}
else
{
buttonBox->addButton( mAddButton, QDialogButtonBox::ActionRole );
buttonBox->addButton( mBuildQueryButton, QDialogButtonBox::ActionRole );
buttonBox->addButton( mStatsButton, QDialogButtonBox::ActionRole );
}

buttonBox->addButton( mAddButton, QDialogButtonBox::ActionRole );
buttonBox->addButton( mBuildQueryButton, QDialogButtonBox::ActionRole );
buttonBox->addButton( mStatsButton, QDialogButtonBox::ActionRole );

populateConnectionList();

0 comments on commit a69d512

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