summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--playerwidget.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/playerwidget.cpp b/playerwidget.cpp
index 9f15524..40efad5 100644
--- a/playerwidget.cpp
+++ b/playerwidget.cpp
@@ -985,6 +985,8 @@ void PlayerWidget::advance(int numSongs){
if(nextIdx.isValid()){
mSongView->selectionModel()->setCurrentIndex(nextIdx, QItemSelectionModel::ClearAndSelect);
playCurrent(nextIdx);
+ }else{
+ doStop();
}
}