From: Thomas Jansen Date: Tue, 27 Oct 2009 08:15:19 +0000 (+0100) Subject: screen_file: sync highlights in screen_file_open X-Git-Tag: release-0.16~63 X-Git-Url: https://git.tokkee.org/?p=ncmpc.git;a=commitdiff_plain;h=949988300f758d511b05986a0614a1bd265dcb2b screen_file: sync highlights in screen_file_open Fix bug #2605, where CMD_SCREEN_FILE would show no highlights until some user action or event changed that. --- diff --git a/src/screen_file.c b/src/screen_file.c index 67dc3e0..86df8c7 100644 --- a/src/screen_file.c +++ b/src/screen_file.c @@ -282,6 +282,9 @@ static void screen_file_open(struct mpdclient *c) { screen_file_reload(c); +#ifndef NCMPC_MINI + screen_browser_sync_highlights(browser.filelist, &c->playlist); +#endif } static const char *