Skip to content

Commit

Permalink
Merge pull request #60513 from alexbruy/wms-ignore-reported-extents
Browse files Browse the repository at this point in the history
do not overwrite ignore reported extents settting with the default value (fix #60496)
  • Loading branch information
elpaso authored Feb 10, 2025
2 parents 3663cb8 + e820c18 commit a52afeb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/qgsnewhttpconnection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -156,8 +158,6 @@ QgsNewHttpConnection::QgsNewHttpConnection( QWidget *parent, ConnectionTypes typ
}
}

cbxWmsIgnoreReportedLayerExtents->setChecked( settingsIgnoreReportedLayerExtentsDefault->value() );

if ( !( flags & FlagShowTestConnection ) )
{
mTestConnectionButton->hide();
Expand Down

0 comments on commit a52afeb

Please sign in to comment.