rmptuidd39c7e
update append_list when new playlist is created
+2 −0
1 file changed
- M src/event/new_pl_keys.rs +2 −0
| @@ -23,6 +23,8 @@ pub fn handle_new_pl_keys(key_event: KeyEvent, app: &mut App) -> AppResult<()> { | |||
| 23 | 23 | app.pl_new_pl_input.clear(); | |
| 24 | 24 | ||
| 25 | 25 | app.pl_list.list = App::get_playlist(&mut app.conn.conn)?; | |
| 26 | + | app.append_list = App::get_append_list(&mut app.conn.conn)?; | |
| 27 | + | ||
| 26 | 28 | app.reset_cursor(); | |
| 27 | 29 | app.inputmode = InputMode::Normal; | |
| 28 | 30 | } | |