diff options
author | 2013-09-29 20:19:51 +0200 | |
---|---|---|
committer | 2013-09-29 20:19:51 +0200 | |
commit | 46451b44ece6f56b695a7cae0f75b012eb838f80 (patch) | |
tree | bc9487366ccdeb090d4dbdfedbf72188d89bddef /plugins/gtkui/actionhandlers.c | |
parent | 81e8c8ab6c6fe60e844e76c02315e6238bb3f97b (diff) |
gtkui: save playlist after sort
Diffstat (limited to 'plugins/gtkui/actionhandlers.c')
-rw-r--r-- | plugins/gtkui/actionhandlers.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/gtkui/actionhandlers.c b/plugins/gtkui/actionhandlers.c index 158a5286..a6e12fc2 100644 --- a/plugins/gtkui/actionhandlers.c +++ b/plugins/gtkui/actionhandlers.c @@ -859,6 +859,7 @@ action_sort_custom_handler_cb (void *data) { ddb_playlist_t *plt = deadbeef->plt_get_curr (); deadbeef->plt_sort (plt, PL_MAIN, -1, fmt, order == 0 ? DDB_SORT_ASCENDING : DDB_SORT_DESCENDING); + deadbeef->plt_save_config (plt); deadbeef->plt_unref (plt); deadbeef->sendmessage (DB_EV_PLAYLISTCHANGED, 0, 0, 0); |