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.
This commit is contained in:
Andrzej Rybczak
2009-03-27 14:32:10 +01:00
parent d5a63d6b61
commit 2649c4a86b

View File

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