aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/screen_file.c')
-rw-r--r--src/screen_file.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/screen_file.c b/src/screen_file.c
index 083b5e347..920525004 100644
--- a/src/screen_file.c
+++ b/src/screen_file.c
@@ -224,13 +224,12 @@ browse_cmd(screen_t *screen, mpdclient_t *c, command_t cmd)
handle_save(screen, c);
break;
case CMD_SCREEN_UPDATE:
- screen->painted = 0;
- browser.lw->clear = 1;
browser.filelist = mpdclient_filelist_update(c, browser.filelist);
list_window_check_selected(browser.lw,
filelist_length(browser.filelist));
screen_status_printf(_("Screen updated!"));
- return 1;
+ return 0;
+
case CMD_DB_UPDATE:
if (c->status == NULL)
return 1;