diff options
Diffstat (limited to '')
-rw-r--r-- | src/screen_file.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/screen_file.c b/src/screen_file.c index 24cd8afc7..a0a7c7cce 100644 --- a/src/screen_file.c +++ b/src/screen_file.c @@ -223,6 +223,13 @@ browse_cmd(screen_t *screen, mpdclient_t *c, command_t cmd) cmd = CMD_LIST_NEXT; } break; + + case CMD_ADD: + if (browser_handle_add(&browser, c) == 0) + /* continue and select next item... */ + cmd = CMD_LIST_NEXT; + break; + case CMD_DELETE: handle_delete(screen, c); file_repaint(); |