From 2649c4a86b34912cd6a0746c0de76ddd62242e19 Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Fri, 27 Mar 2009 14:32:10 +0100 Subject: [PATCH] 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. --- src/lyrics.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/lyrics.cpp b/src/lyrics.cpp index bd8a7e60..4071616a 100644 --- a/src/lyrics.cpp +++ b/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();