Skip to content

Commit

Permalink
do not overwrite ignore reported extents settting with the default value
Browse files Browse the repository at this point in the history
(fix #60496)
  • Loading branch information
alexbruy authored and github-actions[bot] committed Feb 10, 2025
1 parent f073ba5 commit 3a3f248
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 3a3f248

Please sign in to comment.