Skip to content

Commit

Permalink
Update framespinbox.cpp
Browse files Browse the repository at this point in the history
Set single step to FPS if timecode, else single step is one frame.
  • Loading branch information
rodlie committed Jun 29, 2024
1 parent 2c6f5a5 commit 4bdbb5c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ui/widgets/framespinbox.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@

void FrameSpinBox::setDisplayTimeCode(const bool &enabled)
{
setSingleStep(enabled && mFps > 0. ? mFps : 1);
mDisplayTimecode = enabled;
setSpecialValueText(enabled ? "00:00:00:00" : "");
}
Expand Down

0 comments on commit 4bdbb5c

Please sign in to comment.