diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2010-05-16 19:53:30 +0200 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2010-05-16 19:53:30 +0200 |
commit | 60e1aac8f7fa87db623559d499f9067b069db826 (patch) | |
tree | a4f1a04bf564eca347b5201b79e091745022face /plugins/gtkui/fileman.c | |
parent | 3a0a13456fb328e4cc80198186a4efb7fff17ba6 (diff) |
claim fix to bug #2999385: random crash in playlist redraw after using "Open file(s)"
Diffstat (limited to 'plugins/gtkui/fileman.c')
-rw-r--r-- | plugins/gtkui/fileman.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/gtkui/fileman.c b/plugins/gtkui/fileman.c index 0a5fb851..23a037cb 100644 --- a/plugins/gtkui/fileman.c +++ b/plugins/gtkui/fileman.c @@ -99,6 +99,7 @@ static void open_files_worker (void *data) { GSList *lst = (GSList *)data; gtkpl_add_files (lst); + gtkui_playlist_changed (); extern GtkWidget *mainwin; DdbListview *pl = DDB_LISTVIEW (lookup_widget (mainwin, "playlist")); ddb_listview_set_cursor (pl, 0); @@ -108,6 +109,7 @@ open_files_worker (void *data) { void gtkui_open_files (struct _GSList *lst) { deadbeef->pl_clear (); + playlist_refresh (); deadbeef->thread_start (open_files_worker, lst); } |