refresh window after lyrics/artist info was (not) downloaded
This commit is contained in:
@@ -79,9 +79,9 @@ void Info::Update()
|
|||||||
{
|
{
|
||||||
if (!ArtistReady)
|
if (!ArtistReady)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
pthread_join(*Downloader, 0);
|
pthread_join(*Downloader, 0);
|
||||||
w->Flush();
|
w->Flush();
|
||||||
|
w->Refresh();
|
||||||
delete Downloader;
|
delete Downloader;
|
||||||
Downloader = 0;
|
Downloader = 0;
|
||||||
ArtistReady = 0;
|
ArtistReady = 0;
|
||||||
|
|||||||
@@ -302,6 +302,7 @@ void Lyrics::Take()
|
|||||||
return;
|
return;
|
||||||
pthread_join(*Downloader, 0);
|
pthread_join(*Downloader, 0);
|
||||||
w->Flush();
|
w->Flush();
|
||||||
|
w->Refresh();
|
||||||
delete Downloader;
|
delete Downloader;
|
||||||
Downloader = 0;
|
Downloader = 0;
|
||||||
Ready = 0;
|
Ready = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user