if in Lyrics::SwitchTo() lyrics aren't taken yet, take them and continue

if one started fetching lyrics and exited from lyrics screen before
they were taken by Lyrics::Update() and then wanted to switch again,
there was no action visible, because the function just took the lyrics
and exited. for now it continues and fetches them again.
master
Andrzej Rybczak 17 years ago
parent d5a63d6b61
commit 2649c4a86b
  1. 3
      src/lyrics.cpp

@ -111,10 +111,7 @@ void Lyrics::SwitchTo()
return;
}
else if (Ready)
{
Take();
return;
}
# endif // HAVE_PTHREAD_H
const MPD::Song *s = Reload ? myPlaylist->NowPlayingSong() : myScreen->CurrentSong();

Loading…
Cancel
Save