Fix time-stretch dialog clock
This broke in 45e21de209
, the clock is not yet visible,
so the value has to be forced.
This commit is contained in:
parent
bb31125c94
commit
907b0bbfa0
@ -149,7 +149,7 @@ TimeFXDialog::TimeFXDialog (Editor& e, bool pitch, timecnt_t const & oldlen, tim
|
|||||||
duration_clock = manage (new AudioClock (X_("stretch"), true, X_("stretch"), true, false, true, false, true));
|
duration_clock = manage (new AudioClock (X_("stretch"), true, X_("stretch"), true, false, true, false, true));
|
||||||
duration_clock->set_session (e.session());
|
duration_clock->set_session (e.session());
|
||||||
duration_clock->set_mode (AudioClock::BBT);
|
duration_clock->set_mode (AudioClock::BBT);
|
||||||
duration_clock->set_duration (timecnt_t (new_length, position));
|
duration_clock->set_duration (timecnt_t (new_length, position), true);
|
||||||
|
|
||||||
Gtk::Alignment* clock_align = manage (new Gtk::Alignment);
|
Gtk::Alignment* clock_align = manage (new Gtk::Alignment);
|
||||||
clock_align->add (*duration_clock);
|
clock_align->add (*duration_clock);
|
||||||
|
Loading…
Reference in New Issue
Block a user