reset scrollpad's start position while switching to lyrics/info screens

This commit is contained in:
Andrzej Rybczak committed 2009-12-27 16:47:51 +01:00
1 parent 934efd5383
commit 455f729bef
2 files changed
+3

No files matched your search

+2
View File
@@ -126,6 +126,7 @@ void Info::GetSong()
RedrawHeader = 1;
itsTitle = "Song info";
w->Clear();
w->Reset();
PrepareSong(*s);
w->Window::Clear();
w->Flush();
@@ -172,6 +173,7 @@ void Info::GetArtist()
RedrawHeader = 1;
itsTitle = "Artist info - " + itsArtist;
w->Clear();
w->Reset();
static_cast<Window &>(*w) << "Fetching artist info...";
w->Window::Refresh();
# ifdef HAVE_PTHREAD_H
+1
View File
@@ -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();