diff --git a/src/gui/qgsnewhttpconnection.cpp b/src/gui/qgsnewhttpconnection.cpp index 3327a5f4c6d..226b40802f8 100644 --- a/src/gui/qgsnewhttpconnection.cpp +++ b/src/gui/qgsnewhttpconnection.cpp @@ -95,6 +95,8 @@ QgsNewHttpConnection::QgsNewHttpConnection( QWidget *parent, ConnectionTypes typ cmbFeaturePaging->addItem( tr( "Disabled" ) ); connect( cmbFeaturePaging, static_cast( &QComboBox::currentIndexChanged ), this, &QgsNewHttpConnection::wfsFeaturePagingCurrentIndexChanged ); + cbxWmsIgnoreReportedLayerExtents->setChecked( settingsIgnoreReportedLayerExtentsDefault->value() ); + if ( !connectionName.isEmpty() ) { // populate the dialog with the information stored for the connection @@ -156,8 +158,6 @@ QgsNewHttpConnection::QgsNewHttpConnection( QWidget *parent, ConnectionTypes typ } } - cbxWmsIgnoreReportedLayerExtents->setChecked( settingsIgnoreReportedLayerExtentsDefault->value() ); - if ( !( flags & FlagShowTestConnection ) ) { mTestConnectionButton->hide();