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:
parent
99a1349336
commit
5026e80eab
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue