]> git.sesse.net Git - nageru/commitdiff
Fix some issues with the “time remaining” display.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Fri, 28 Dec 2018 17:14:07 +0000 (18:14 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Fri, 28 Dec 2018 17:14:07 +0000 (18:14 +0100)
futatabi/mainwindow.cpp

index 346c6f684446bb179c64ec784c089c019aab9040..025f00ba27186437c1a2a2ed2999e5a219d1fa90 100644 (file)
@@ -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);
 }