diff options
Diffstat (limited to 'src/helpers.h')
-rw-r--r-- | src/helpers.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helpers.h b/src/helpers.h index 2ea385ce..98db9510 100644 --- a/src/helpers.h +++ b/src/helpers.h @@ -87,7 +87,7 @@ inline MPD::Song *currentSong(BaseScreen *screen) { MPD::Song *ptr = 0; auto pl = proxySongList(screen); - if (pl) + if (pl && !pl.empty()) ptr = pl.currentSong(); return ptr; } |