FramesView: Fix auto scrolling when frame capturing is suspended

Allow to freely scroll the captured frames window in suspended state.

Fixes #111
This commit is contained in:
Andre Hartmann
2017-11-26 15:44:04 +01:00
parent d93c58725c
commit 4c8921ceca
+1 -1
View File
@@ -409,7 +409,7 @@ void MainWindow::tickGUIUpdate()
framesPerSec = 0;
ui->lbNumFrames->setText(QString::number(model->rowCount()));
if (ui->cbAutoScroll->isChecked()) ui->canFramesView->scrollToBottom();
if (allowCapture && ui->cbAutoScroll->isChecked()) ui->canFramesView->scrollToBottom();
ui->lbFPS->setText(QString::number(framesPerSec));
if (rxFrames > 0)
{