Skip to content

Commit

Permalink
Set ogr as the default option for embedded layer. Fix #46689
Browse files Browse the repository at this point in the history
  • Loading branch information
ismailsunni committed Jan 20, 2022
1 parent 7c4a6de commit d78985c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/providers/virtual/qgsvirtuallayersourceselect.cpp
Expand Up @@ -276,6 +276,7 @@ void QgsVirtualLayerSourceSelect::addLayer()

QComboBox *providerCombo = new QComboBox();
providerCombo->addItems( mProviderList );
providerCombo->setCurrentText( QStringLiteral( "ogr" ) );
mLayersTable->setCellWidget( mLayersTable->rowCount() - 1, 1, providerCombo );

QComboBox *encodingCombo = new QComboBox();
Expand Down

0 comments on commit d78985c

Please sign in to comment.