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

Target the active playlist when setting 'Stop after this track' via global shortcut or system tray.

This commit is contained in:
Mattias Andersson 2014-01-08 14:11:21 +01:00
parent 9b39547ed7
commit 4872766f80

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