Skip to content

Commit

Permalink
check wmst group visibility based on its parent widget
Browse files Browse the repository at this point in the history
  • Loading branch information
Samweli authored and nyalldawson committed May 2, 2020
1 parent 44e415a commit 40747fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/raster/qgsrasterlayerproperties.cpp
Expand Up @@ -1248,7 +1248,7 @@ void QgsRasterLayerProperties::updateSourceStaticTime()
mRasterLayer->providerType() );
QVariantMap uri = metadata->decodeUri( mRasterLayer->dataProvider()->dataSourceUri() );

if ( mWmstGroup->isVisible() )
if ( mWmstGroup->isVisibleTo( this ) )
uri[ QStringLiteral( "allowTemporalUpdates" ) ] = mWmstGroup->isChecked();

if ( mWmstGroup->isEnabled() &&
Expand Down

0 comments on commit 40747fb

Please sign in to comment.