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
1 changed files with 2 additions and 2 deletions

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) {