refresh header window and right column in tag editor only if necessary
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user