From 5d852bd60fa12ef257c15f7274116a23aa67caec Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 1 Oct 2008 09:45:05 +0200 Subject: 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. --- src/screen_file.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/screen_file.c b/src/screen_file.c index a0a7c7cce..3870cbdc7 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(); -- cgit v1.2.3