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:
1 parent
d5a63d6b61
commit
2649c4a86b
1 file changed
-3
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user