Skip to content

Commit

Permalink
Set focus to Open button after browsing for vector data source
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Sep 3, 2015
1 parent 096d464 commit 384983e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/ogr/qgsopenvectorlayerdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,10 @@ void QgsOpenVectorLayerDialog::on_buttonSelectSrc_clicked()
{
QStringList selected = openFile();
if ( selected.count() > 0 )
{
inputSrcDataset->setText( selected.join( ";" ) );
buttonBox->button( QDialogButtonBox::Open )->setFocus();
}
}
else if ( radioSrcDirectory->isChecked() )
{
Expand Down

0 comments on commit 384983e

Please sign in to comment.