refresh header window and right column in tag editor only if necessary

This commit is contained in:
unK
2008-09-13 00:17:08 +02:00
parent 2605b29dd9
commit fd7819a6b0
2 changed files with 39 additions and 7 deletions

View File

@@ -70,6 +70,7 @@ extern bool block_playlist_update;
extern bool block_found_item_list_update;
extern bool redraw_screen;
extern bool redraw_header;
bool header_update_status = 0;
bool repeat_one_allowed = 0;
@@ -205,6 +206,8 @@ void NcmpcppStatusChanged(MPDConnection *Mpd, MPDStatusChanges changed, void *da
FreeSongList(list);
}
redraw_header = 1;
if (mPlaylist->Empty())
{
playlist_stats.clear();