aboutsummaryrefslogtreecommitdiffstats
path: root/src/screens/UScreenSongJumpto.pas
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/screens/UScreenSongJumpto.pas7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/screens/UScreenSongJumpto.pas b/src/screens/UScreenSongJumpto.pas
index 7f82bbec..d0fa907a 100644
--- a/src/screens/UScreenSongJumpto.pas
+++ b/src/screens/UScreenSongJumpto.pas
@@ -233,9 +233,12 @@ begin
ScreenSong.FixSelected;
//Play Correct Music
- if (ScreenSong.Interaction <> fLastPlayed) then
+ if (ScreenSong.Interaction <> fLastPlayed) or (CatSongs.VisibleSongs = 0) then
begin
- fLastPlayed := ScreenSong.Interaction;
+ if (CatSongs.VisibleSongs > 0) then
+ fLastPlayed := ScreenSong.Interaction
+ else
+ fLastPlayed := -1;
ScreenSong.ChangeMusic;
end;