Skip to content
Permalink
Browse files

Fix wrong test for data provider temporal capabilies

  • Loading branch information
nyalldawson committed Mar 12, 2020
1 parent 8dc2299 commit ea16cc7804ba0c8fea6bb0b3f1912a2eabbf7c99
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/raster/qgsrasterlayertemporalproperties.cpp
@@ -204,7 +204,7 @@ void QgsRasterLayerTemporalProperties::setDefaultsFromDataProviderTemporalCapabi
setFixedTemporalRange( capabilities->availableTemporalRange() );
setFixedReferenceTemporalRange( capabilities->availableReferenceTemporalRange() );

if ( capabilities->isTimeEnabled() )
if ( capabilities->hasTemporalCapabilities() )
{
setMode( ModeTemporalRangeFromDataProvider );
}

0 comments on commit ea16cc7

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