From 5026e80eab24a7c0b071d5a329294c8acb063215 Mon Sep 17 00:00:00 2001 From: Anna Schumaker Date: Wed, 4 Feb 2015 08:36:57 -0500 Subject: [PATCH] gui: Fix setting autopause count Once the check box was enabled, we were never setting the count again. This means that changing pause count from 1 to 2 did not change the count in the backend. Signed-off-by: Anna Schumaker --- gui/gst.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/gui/gst.cpp b/gui/gst.cpp index 5fc91abb..28d1898e 100644 --- a/gui/gst.cpp +++ b/gui/gst.cpp @@ -170,6 +170,7 @@ static bool on_seek(Gtk::ScrollType type, double value) static void on_pause_count() { o_enabled->set_active(true); + audio :: pause_after(true, o_count->get_value()); } static void on_pause_enabled()