aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_file.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-01 09:45:05 +0200
committerMax Kellermann <max@duempel.org>2008-10-01 09:45:05 +0200
commit5d852bd60fa12ef257c15f7274116a23aa67caec (patch)
tree4c82762b61b96f6fe683350d4504a09ea8a27aeb /src/screen_file.c
parentfc32478f2a2725f3726a5949886643f638e9098b (diff)
downloadmpd-5d852bd60fa12ef257c15f7274116a23aa67caec.tar.gz
mpd-5d852bd60fa12ef257c15f7274116a23aa67caec.tar.xz
mpd-5d852bd60fa12ef257c15f7274116a23aa67caec.zip
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.
Diffstat (limited to '')
-rw-r--r--src/screen_file.c1
1 files changed, 1 insertions, 0 deletions
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();