timecode: fix issue converting seconds to timecode and vice versa

Fixes #2091
This commit is contained in:
itsmattkc
2022-11-05 13:45:21 -07:00
parent 1c4149a0fd
commit 49ad3a1e34
7 changed files with 102 additions and 203 deletions
@@ -289,6 +289,7 @@ void TimelineWidget::ConnectNodeEvent(ViewerOutput *n)
connect(timecode_label_, &RationalSlider::ValueChanged, s, &Sequence::SetPlayhead);
connect(s, &Sequence::PlayheadChanged, timecode_label_, &RationalSlider::SetValue);
timecode_label_->SetValue(s->GetPlayhead());
ruler()->SetPlaybackCache(n->video_frame_cache());