summaryrefslogtreecommitdiffstats
path: root/gtk/src/queuehandler.c
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2018-10-15 10:03:00 -0700
committerJohn Stebbins <[email protected]>2018-10-15 10:03:00 -0700
commitdead9539dccd4c43fba40c07ead4324b14379296 (patch)
tree1167bfaf6cce101f037ef4b5016d74d522336933 /gtk/src/queuehandler.c
parent29eec2839291bf05e2321352eaa9368d2c76ac64 (diff)
LinGui: fix queue "Reload" option
The change of state of the queue job was not getting written to the queue file. So restarting HandBrake would result in the queue job being lost.
Diffstat (limited to 'gtk/src/queuehandler.c')
-rw-r--r--gtk/src/queuehandler.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/src/queuehandler.c b/gtk/src/queuehandler.c
index 8c39fe44c..fe78fe342 100644
--- a/gtk/src/queuehandler.c
+++ b/gtk/src/queuehandler.c
@@ -1028,6 +1028,8 @@ queue_reload_clicked_cb(GtkWidget *widget, signal_user_data_t *ud)
if (row < 0) return;
if (row >= ghb_array_len(ud->queue)) return;
ghb_update_status(ud, GHB_QUEUE_PENDING, row);
+ ghb_save_queue(ud->queue);
+ ghb_update_pending(ud);
}
}