Skip to content
Permalink
Browse files

fix wmst ui state issue

  • Loading branch information
Samweli authored and nyalldawson committed May 19, 2020
1 parent 934d6c8 commit 1b5cd3a82928ae7c679c246e31e6576c9f07d4e7
Showing with 2 additions and 0 deletions.
  1. +1 −0 src/providers/wms/qgswmsdataitems.cpp
  2. +1 −0 src/providers/wms/qgswmssourceselect.cpp
@@ -302,6 +302,7 @@ QString QgsWMSItemBase::createUri()
if ( mDataSourceUri.param( QLatin1String( "type" ) ) == QLatin1String( "wmst" ) )
{
mDataSourceUri.setParam( QLatin1String( "temporalSource" ), QLatin1String( "provider" ) );
mDataSourceUri.setParam( QLatin1String( "allowTemporalUpdates" ), QLatin1String( "true" ) );
}

QString format;
@@ -1056,6 +1056,7 @@ void QgsWMSSourceSelect::collectDimensions( QStringList &layers, QgsDataSourceUr
if ( uri.param( QLatin1String( "type" ) ) == QLatin1String( "wmst" ) )
{
uri.setParam( QLatin1String( "temporalSource" ), QLatin1String( "provider" ) );
uri.setParam( QLatin1String( "allowTemporalUpdates" ), QLatin1String( "true" ) );
}

}

0 comments on commit 1b5cd3a

Please sign in to comment.
You can’t perform that action at this time.