From: Max Kellermann Date: Wed, 1 Oct 2008 07:45:05 +0000 (+0200) Subject: screen_file: set highlights after screen update X-Git-Tag: v0.12_alpha1~127 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5d852bd60fa12ef257c15f7274116a23aa67caec;p=ncmpc.git screen_file: set highlights after screen update Due to a missing sync_highlights() call, highlights were gone when the user pressed the "update" hot key. --- diff --git a/src/screen_file.c b/src/screen_file.c index a0a7c7c..3870cbd 100644 --- a/src/screen_file.c +++ b/src/screen_file.c @@ -239,6 +239,7 @@ browse_cmd(screen_t *screen, mpdclient_t *c, command_t cmd) break; case CMD_SCREEN_UPDATE: browser.filelist = mpdclient_filelist_update(c, browser.filelist); + sync_highlights(c, browser.filelist); list_window_check_selected(browser.lw, filelist_length(browser.filelist)); file_repaint();