mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Fix #9359; set default WCS caching to Prefer Network
- This is noted in the tool tip, but was not set. Always Cache was the default, which caused the cache to never be updated on upstream changes. Caveat: this does not fix projects with existing WCS layers.
This commit is contained in:
parent
6f1c371399
commit
817f5a9a0d
@ -86,6 +86,9 @@ QgsOWSSourceSelect::QgsOWSSourceSelect( QString service, QWidget * parent, Qt::W
|
||||
mCacheComboBox->addItem( tr( "Prefer network" ), QNetworkRequest::PreferNetwork );
|
||||
mCacheComboBox->addItem( tr( "Always network" ), QNetworkRequest::AlwaysNetwork );
|
||||
|
||||
// 'Prefer network' is the default noted in the combobox's tool tip
|
||||
mCacheComboBox->setCurrentIndex( mCacheComboBox->findData( QNetworkRequest::PreferNetwork ) );
|
||||
|
||||
if ( !mManagerMode )
|
||||
{
|
||||
connect( mAddButton, SIGNAL( clicked() ), this, SLOT( addClicked() ) );
|
||||
|
Loading…
x
Reference in New Issue
Block a user