aboutsummaryrefslogtreecommitdiffstats
path: root/src/screens/UScreenTop5.pas
diff options
context:
space:
mode:
authorbasisbit <basisbit@b956fd51-792f-4845-bead-9b4dfca2ff2c>2015-09-07 00:11:32 +0000
committerbasisbit <basisbit@b956fd51-792f-4845-bead-9b4dfca2ff2c>2015-09-07 00:11:32 +0000
commit3eb83d6110761ac8c8efae4baaa231be3bfa64e4 (patch)
treef221afe626f5b5d399e9fc5449c6021350b35e4d /src/screens/UScreenTop5.pas
parenta1cc9838fa20ec350c06534ce34b493fdc9fbb6d (diff)
downloadusdx-3eb83d6110761ac8c8efae4baaa231be3bfa64e4.tar.gz
usdx-3eb83d6110761ac8c8efae4baaa231be3bfa64e4.tar.xz
usdx-3eb83d6110761ac8c8efae4baaa231be3bfa64e4.zip
* 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
Diffstat (limited to 'src/screens/UScreenTop5.pas')
-rw-r--r--src/screens/UScreenTop5.pas2
1 files changed, 2 insertions, 0 deletions
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;