aboutsummaryrefslogtreecommitdiffstats
path: root/src/screens
diff options
context:
space:
mode:
authorwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-08-19 20:47:55 +0000
committerwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-08-19 20:47:55 +0000
commit8920d1734579bd3e66590ce6a8b4b8df6e04eb85 (patch)
treec2a8b5b60f55994cc2bdf8d8e68f51047a593528 /src/screens
parent2c618ba87578a7ca4acff5960284d22f472ae29c (diff)
downloadusdx-8920d1734579bd3e66590ce6a8b4b8df6e04eb85.tar.gz
usdx-8920d1734579bd3e66590ce6a8b4b8df6e04eb85.tar.xz
usdx-8920d1734579bd3e66590ce6a8b4b8df6e04eb85.zip
reload header in screensing.OnShow
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2614 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src/screens')
-rw-r--r--src/screens/UScreenSing.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/screens/UScreenSing.pas b/src/screens/UScreenSing.pas
index b0318072..3b8fda40 100644
--- a/src/screens/UScreenSing.pas
+++ b/src/screens/UScreenSing.pas
@@ -483,9 +483,9 @@ begin
try
// check if file is xml
if CurrentSong.FileName.GetExtension.ToUTF8 = '.xml' then
- success := CurrentSong.LoadXMLSong()
+ success := CurrentSong.AnalyseXML and CurrentSong.LoadXMLSong()
else
- success := CurrentSong.LoadSong();
+ success := CurrentSong.Analyse and CurrentSong.LoadSong();
except
success := false;
end;