From a2e64c7366f8a726d3979eda17cf1480bfc1e685 Mon Sep 17 00:00:00 2001 From: whiteshark0 Date: Mon, 14 Jun 2010 09:24:27 +0000 Subject: 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 --- src/screens/UScreenEditSub.pas | 4 ++++ 1 file changed, 4 insertions(+) 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; -- cgit v1.2.3