heck that we actually have current song before playing. In consume mode, if we have 3 tracks and play the last, playback wil stop (with two tracks still in queue). Then wehn we press play, playqueue still has last as current!

This commit is contained in:
craig
2012-02-23 21:04:28 +00:00
parent c4a62d3a30
commit 784d3e7762

View File

@@ -1272,7 +1272,7 @@ void MainWindow::playPauseTrack()
emit pause(false);
} else {
stopVolumeFade();
if (-1!=playQueueModel.currentSong()) {
if (-1!=playQueueModel.currentSong() && -1!=playQueueModel.currentSongRow()) {
emit startPlayingSongId(playQueueModel.currentSong());
} else {
emit play();