Merge pull request #60513 from alexbruy/wms-ignore-reported-extents

do not overwrite ignore reported extents settting with the default value (fix #60496)
This commit is contained in:
Alessandro Pasotti 2025-02-10 14:18:00 +01:00 committed by GitHub
commit a52afeb19f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -95,6 +95,8 @@ QgsNewHttpConnection::QgsNewHttpConnection( QWidget *parent, ConnectionTypes typ
cmbFeaturePaging->addItem( tr( "Disabled" ) );
connect( cmbFeaturePaging, static_cast<void ( QComboBox::* )( int )>( &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();