From 3eb83d6110761ac8c8efae4baaa231be3bfa64e4 Mon Sep 17 00:00:00 2001 From: basisbit Date: Mon, 7 Sep 2015 00:11:32 +0000 Subject: * show CallStack on unhandled application error * do not show Top 5 Screen when there are no scores to show * first UThemes changes for duett and fixes for jukebox * first step of standardizing the function-keys in JukeBox: press r to randomize/mix the playlist or press j and start typing for song search git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3131 b956fd51-792f-4845-bead-9b4dfca2ff2c --- src/screens/UScreenTop5.pas | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/screens/UScreenTop5.pas') diff --git a/src/screens/UScreenTop5.pas b/src/screens/UScreenTop5.pas index 75b9f160..97ad7ea7 100644 --- a/src/screens/UScreenTop5.pas +++ b/src/screens/UScreenTop5.pas @@ -214,6 +214,8 @@ begin Text[TextDate[I]].Text := CurrentSong.Score[Ini.Difficulty, I-1].Date; end; + If Length(CurrentSong.Score[Ini.Difficulty])=0 then + FadeTo(@ScreenSong); //if there are no scores to show, go to next screen for I := Length(CurrentSong.Score[Ini.Difficulty]) + 1 to 5 do begin Statics[StaticNumber[I]].Visible := false; -- cgit v1.2.3