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 <Anna@OcarinaProject.net>
This commit is contained in:
Anna Schumaker 2015-02-04 08:36:57 -05:00
parent 99a1349336
commit 5026e80eab
1 changed files with 1 additions and 0 deletions

View File

@ -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()