summaryrefslogtreecommitdiff
path: root/plugins/gtkui/gtkui.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/gtkui/gtkui.c')
-rw-r--r--plugins/gtkui/gtkui.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/gtkui/gtkui.c b/plugins/gtkui/gtkui.c
index bdf71d36..d49be24c 100644
--- a/plugins/gtkui/gtkui.c
+++ b/plugins/gtkui/gtkui.c
@@ -805,7 +805,9 @@ on_add_location_activate (GtkMenuItem *menuitem,
if (entry) {
const char *text = gtk_entry_get_text (entry);
if (text) {
+ deadbeef->pl_add_files_begin (deadbeef->plt_get_curr ());
deadbeef->pl_add_file (text, NULL, NULL);
+ deadbeef->pl_add_files_end ();
playlist_refresh ();
}
}