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

master
Andrzej Rybczak 16 years ago
parent 934efd5383
commit 455f729bef
  1. 2
      src/info.cpp
  2. 1
      src/lyrics.cpp

@ -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

@ -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();

Loading…
Cancel
Save