From: Steinar H. Gunderson Date: Fri, 28 Dec 2018 17:14:07 +0000 (+0100) Subject: Fix some issues with the “time remaining” display. X-Git-Tag: 1.8.1~12 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=d02bca0f5622abd11b9697b738613f7644c33f59;p=nageru Fix some issues with the “time remaining” display. --- diff --git a/futatabi/mainwindow.cpp b/futatabi/mainwindow.cpp index 346c6f6..025f00b 100644 --- a/futatabi/mainwindow.cpp +++ b/futatabi/mainwindow.cpp @@ -493,6 +493,7 @@ void MainWindow::play_clicked() } live_player->play(clips); playlist_clips->set_progress({ { start_row, 0.0f } }); + ui->playlist->selectionModel()->clear(); playlist_selection_changed(); ui->stop_btn->setEnabled(true); @@ -509,7 +510,7 @@ void MainWindow::stop_clicked() void MainWindow::live_player_done() { - set_output_status("paused"); + playlist_selection_changed(); playlist_clips->set_progress({}); ui->stop_btn->setEnabled(false); }