summaryrefslogtreecommitdiff
path: root/plugins/gtkui/actionhandlers.c
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <waker@users.sourceforge.net>2013-09-29 20:19:51 +0200
committerGravatar Alexey Yakovenko <waker@users.sourceforge.net>2013-09-29 20:19:51 +0200
commit46451b44ece6f56b695a7cae0f75b012eb838f80 (patch)
treebc9487366ccdeb090d4dbdfedbf72188d89bddef /plugins/gtkui/actionhandlers.c
parent81e8c8ab6c6fe60e844e76c02315e6238bb3f97b (diff)
gtkui: save playlist after sort
Diffstat (limited to 'plugins/gtkui/actionhandlers.c')
-rw-r--r--plugins/gtkui/actionhandlers.c1
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);