Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix range of date time values for animation export dialog
  • Loading branch information
github-actions[bot] authored and nyalldawson committed Aug 21, 2020
1 parent b05aa10 commit 1ce3875
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/qgsanimationexportdialog.cpp
Expand Up @@ -31,6 +31,9 @@ QgsAnimationExportDialog::QgsAnimationExportDialog( QWidget *parent, QgsMapCanva
{
setupUi( this );

mStartDateTime->setDateTimeRange( QDateTime( QDate( 1, 1, 1 ) ), mStartDateTime->maximumDateTime() );
mEndDateTime->setDateTimeRange( QDateTime( QDate( 1, 1, 1 ) ), mStartDateTime->maximumDateTime() );

// Use unrotated visible extent to insure output size and scale matches canvas
QgsMapSettings ms = mMapCanvas->mapSettings();
ms.setRotation( 0 );
Expand Down

0 comments on commit 1ce3875

Please sign in to comment.