1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-01-31 03:27:40 +01:00

Merge pull request #4084 from paperbagcorner/fix-stopafter

Target the active playlist when setting 'Stop after this track' via glob...
This commit is contained in:
David Sansome 2014-01-08 17:52:33 -08:00
commit 662dc8ab50

View File

@ -1062,8 +1062,8 @@ void MainWindow::ToggleShowHide() {
}
void MainWindow::StopAfterCurrent() {
app_->playlist_manager()->current()->StopAfter(app_->playlist_manager()->current()->current_row());
emit StopAfterToggled(app_->playlist_manager()->current()->stop_after_current());
app_->playlist_manager()->active()->StopAfter(app_->playlist_manager()->active()->current_row());
emit StopAfterToggled(app_->playlist_manager()->active()->stop_after_current());
}
void MainWindow::closeEvent(QCloseEvent* event) {