Skip to content

Commit

Permalink
Update exportsvgdialog.cpp
Browse files Browse the repository at this point in the history
Fix frame range min/max.
  • Loading branch information
rodlie committed Jul 20, 2024
1 parent 35a9244 commit dadc70c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ui/dialogs/exportsvgdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ ExportSvgDialog::ExportSvgDialog(QWidget* const parent,
const int minFrame = scene ? scene->getMinFrame() : 0;
const int maxFrame = scene ? scene->getMaxFrame() : 0;

mFirstFrame->setRange(-99999, maxFrame);
mFirstFrame->setRange(-INT_MAX, maxFrame);
mFirstFrame->setValue(minFrame);
mLastFrame->setRange(minFrame, 99999);
mLastFrame->setRange(minFrame, INT_MAX);
mLastFrame->setValue(maxFrame);

mBackground = new QCheckBox(tr("Background"), this);
Expand Down

0 comments on commit dadc70c

Please sign in to comment.