summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4098af3)
raw | patch | inline | side by side (parent: 4098af3)
author | Max Kellermann <max@duempel.org> | |
Tue, 25 Nov 2008 17:37:56 +0000 (18:37 +0100) | ||
committer | Max Kellermann <max@duempel.org> | |
Tue, 25 Nov 2008 17:37:56 +0000 (18:37 +0100) |
When the view is changed and a new song is about to be displayed,
reset the list's state and scroll back to the origin.
reset the list's state and scroll back to the origin.
src/screen_lyrics.c | patch | blob | history |
diff --git a/src/screen_lyrics.c b/src/screen_lyrics.c
index 8c2eedc7dd69e64de949a96a50f9d1f0d17cdcab..2d61bc0924a1c14d7cdc397ee7c1ba29f1d8ded4 100644 (file)
--- a/src/screen_lyrics.c
+++ b/src/screen_lyrics.c
{
guint i;
+ list_window_reset(lw);
+
for (i = 0; i < current.lines->len; ++i)
g_free(g_ptr_array_index(current.lines, i));