summaryrefslogtreecommitdiff
path: root/src/lyrics.cpp
diff options
context:
space:
mode:
authorAndrzej Rybczak <electricityispower@gmail.com>2009-12-27 16:47:51 +0100
committerAndrzej Rybczak <electricityispower@gmail.com>2009-12-27 16:47:51 +0100
commit455f729befd546dc80aca3c54ba3b91b59d01920 (patch)
treed3037a0dd242fc4eb07d418b50249ffcd5a17392 /src/lyrics.cpp
parent934efd53832d9322d8ce1c2ab1dbdca9168258d7 (diff)
reset scrollpad's start position while switching to lyrics/info screens
Diffstat (limited to 'src/lyrics.cpp')
-rw-r--r--src/lyrics.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lyrics.cpp b/src/lyrics.cpp
index d704be6d..ce3746e9 100644
--- a/src/lyrics.cpp
+++ b/src/lyrics.cpp
@@ -130,6 +130,7 @@ void Lyrics::SwitchTo()
}
RedrawHeader = 1;
w->Clear();
+ w->Reset();
# ifdef HAVE_CURL_CURL_H
static_cast<Window &>(*w) << "Fetching lyrics...";
w->Window::Refresh();