improve checking if song is in playlist in search engine

This commit is contained in:
unK
2008-09-09 10:01:56 +02:00
parent 52241fd36d
commit cad4d36807
4 changed files with 15 additions and 8 deletions

View File

@@ -69,6 +69,7 @@ extern bool allow_statusbar_unblock;
extern bool block_progressbar_update;
extern bool block_statusbar_update;
extern bool block_playlist_update;
extern bool block_found_item_list_update;
extern bool redraw_me;
@@ -212,9 +213,9 @@ void NcmpcppStatusChanged(MPDConnection *Mpd, MPDStatusChanges changed, void *da
{
UpdateItemList(mBrowser);
}
else if (current_screen == csSearcher)
else if (current_screen == csSearcher && !block_found_item_list_update)
{
UpdateFoundList(vSearched, mSearcher);
UpdateFoundList(vSearched);
}
else if (current_screen == csLibrary)
{