From 8920d1734579bd3e66590ce6a8b4b8df6e04eb85 Mon Sep 17 00:00:00 2001 From: whiteshark0 Date: Thu, 19 Aug 2010 20:47:55 +0000 Subject: reload header in screensing.OnShow git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2614 b956fd51-792f-4845-bead-9b4dfca2ff2c --- src/screens/UScreenSing.pas | 4 ++-- 1 file 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; -- cgit v1.2.3