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:
commit
662dc8ab50
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue