Skip to content
Permalink
Browse files

Better logic

  • Loading branch information
rduivenvoorde committed Sep 5, 2020
1 parent 47a66d9 commit d72c219b8311f9918bef69224bfeaace55eefb32
Showing with 4 additions and 3 deletions.
  1. +4 −3 src/core/qgstemporalnavigationobject.cpp
@@ -128,11 +128,12 @@ void QgsTemporalNavigationObject::setNavigationMode( const NavigationMode mode )

void QgsTemporalNavigationObject::setTemporalExtents( const QgsDateTimeRange &temporalExtents )
{
if ( !( mTemporalExtents == temporalExtents ) )
if ( mTemporalExtents == temporalExtents )
{
mTemporalExtents = temporalExtents;
emit temporalExtentsChanged( mTemporalExtents );
return;
}
mTemporalExtents = temporalExtents;
emit temporalExtentsChanged( mTemporalExtents );

switch ( mNavigationMode )
{

0 comments on commit d72c219

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