From 259887e47f135af69e37c34f3e11bde81a626d8c Mon Sep 17 00:00:00 2001 From: Alexander Bruy Date: Fri, 7 Feb 2025 15:08:53 +0000 Subject: [PATCH] do not overwrite ignore reported extents settting with the default value (fix #60496) --- src/gui/qgsnewhttpconnection.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/qgsnewhttpconnection.cpp b/src/gui/qgsnewhttpconnection.cpp index 3327a5f4c6d7..226b40802f85 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();