Skip to content
Permalink
Browse files

Remove redundant check

  • Loading branch information
rduivenvoorde committed Sep 7, 2020
1 parent 34c0356 commit 32b83a1271c7ebf96992b8a85db60b71361ba88d
Showing with 1 addition and 6 deletions.
  1. +1 −6 src/gui/qgstemporalcontrollerwidget.cpp
@@ -575,12 +575,7 @@ void QgsTemporalControllerWidget::setDates( const QgsDateTimeRange &range )
whileBlocking( mEndDateTime )->setDateTime( range.end() );
whileBlocking( mFixedRangeStartDateTime )->setDateTime( range.begin() );
whileBlocking( mFixedRangeEndDateTime )->setDateTime( range.end() );
// only if range is different from mNavigationObject->temporalExtents update
// else recursion as updateTemporalExtent itself calls mNavigationObject->setTemporalExtents
if ( range != mNavigationObject->temporalExtents() )
{
updateTemporalExtent();
}
updateTemporalExtent();
}
}

0 comments on commit 32b83a1

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