]> granicus.if.org Git - handbrake/commitdiff
LinGui: fix queue "Reload" option
authorJohn Stebbins <jstebbins.hb@gmail.com>
Mon, 15 Oct 2018 17:03:00 +0000 (10:03 -0700)
committerJohn Stebbins <jstebbins.hb@gmail.com>
Mon, 15 Oct 2018 17:03:00 +0000 (10:03 -0700)
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.

gtk/src/queuehandler.c

index 8c39fe44cab9159da1043c5e79b20a1ee78ff83f..fe78fe3425b57859ce4a50e239e2867216dc25f1 100644 (file)
@@ -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);
     }
 }