diff --git a/frameplaybackwindow.cpp b/frameplaybackwindow.cpp index 8b04626..ade0c95 100644 --- a/frameplaybackwindow.cpp +++ b/frameplaybackwindow.cpp @@ -164,24 +164,27 @@ void FramePlaybackWindow::btnSelectNoneClick() void FramePlaybackWindow::timerTriggered() { - if (!playbackActive) + for (int count = 0; count < ui->spinBurstSpeed->value(); count++) { - playbackTimer->stop(); - return; - } - if (playbackForward) - { - updatePosition(true); - } - else - { - updatePosition(false); - } + if (!playbackActive) + { + playbackTimer->stop(); + return; + } + if (playbackForward) + { + updatePosition(true); + } + else + { + updatePosition(false); + } - if (!ui->cbLoop->isChecked()) - { - if (currentPosition == 0) playbackActive = false; - if (currentPosition == (modelFrames->count() - 1)) playbackActive = false; + if (!ui->cbLoop->isChecked()) + { + if (currentPosition == 0) playbackActive = false; + if (currentPosition == (modelFrames->count() - 1)) playbackActive = false; + } } } diff --git a/frameplaybackwindow.ui b/frameplaybackwindow.ui index 131ed68..e8b3a0a 100644 --- a/frameplaybackwindow.ui +++ b/frameplaybackwindow.ui @@ -120,6 +120,26 @@ + + + + Burst Rate: + + + + + + + 1 + + + 8 + + + 1 + + +