diff options
Diffstat (limited to 'plugins/gtkui/actionhandlers.c')
-rw-r--r-- | plugins/gtkui/actionhandlers.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/gtkui/actionhandlers.c b/plugins/gtkui/actionhandlers.c index b60617bf..879f8f09 100644 --- a/plugins/gtkui/actionhandlers.c +++ b/plugins/gtkui/actionhandlers.c @@ -400,9 +400,9 @@ action_add_location_handler_cb (void *user_data) { const char *text = gtk_entry_get_text (entry); if (text) { ddb_playlist_t *plt = deadbeef->plt_get_curr (); - if (!deadbeef->pl_add_files_begin (plt)) { - deadbeef->plt_add_file (plt, text, NULL, NULL); - deadbeef->pl_add_files_end (); + if (!deadbeef->plt_add_files_begin (plt, 0)) { + deadbeef->plt_add_file2 (0, plt, text, NULL, NULL); + deadbeef->plt_add_files_end (plt, 0); playlist_refresh (); } if (plt) { |