fix switching to artist info screen

if one switched from artist info screen while artist info was being
downloaded, {s,}he wouldn't be able to enter the screen again.
This commit is contained in:
Andrzej Rybczak
2010-08-29 02:13:09 +02:00
parent fa027bbcc9
commit f90176ffee
3 changed files with 3 additions and 2 deletions

View File

@@ -2142,7 +2142,7 @@ int main(int argc, char *argv[])
# ifdef HAVE_CURL_CURL_H
else if (Keypressed(input, Key.ArtistInfo))
{
if (myScreen == myLastfm)
if (myScreen == myLastfm || myLastfm->isDownloading())
{
myLastfm->SwitchTo();
continue;