aboutsummaryrefslogtreecommitdiffstats
path: root/src/screens/UScreenEditSub.pas
diff options
context:
space:
mode:
authorwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-06-14 09:24:27 +0000
committerwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-06-14 09:24:27 +0000
commita2e64c7366f8a726d3979eda17cf1480bfc1e685 (patch)
treea728b1a1f9556e8f3c81097d2176e6c4e65085e8 /src/screens/UScreenEditSub.pas
parent5742ba4a424b5064758aadb627efae023e50f302 (diff)
downloadusdx-a2e64c7366f8a726d3979eda17cf1480bfc1e685.tar.gz
usdx-a2e64c7366f8a726d3979eda17cf1480bfc1e685.tar.xz
usdx-a2e64c7366f8a726d3979eda17cf1480bfc1e685.zip
minor editor fix:
update lyrics after toggling freestyle git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2523 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--src/screens/UScreenEditSub.pas4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/screens/UScreenEditSub.pas b/src/screens/UScreenEditSub.pas
index ea80d778..afefbb5f 100644
--- a/src/screens/UScreenEditSub.pas
+++ b/src/screens/UScreenEditSub.pas
@@ -350,6 +350,10 @@ begin
Lines[0].Line[Lines[0].Current].Note[CurrentNote].NoteType := ntNormal
else
Lines[0].Line[Lines[0].Current].Note[CurrentNote].NoteType := ntFreestyle;
+
+ // update lyrics
+ Lyric.AddLine(Lines[0].Current);
+ Lyric.Selected := CurrentNote;
Exit;
end;