From 907b0bbfa01c9e8e06486f965459a192742d252d Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 9 Feb 2023 00:35:27 +0100 Subject: [PATCH] Fix time-stretch dialog clock This broke in 45e21de2094, the clock is not yet visible, so the value has to be forced. --- gtk2_ardour/time_fx_dialog.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/time_fx_dialog.cc b/gtk2_ardour/time_fx_dialog.cc index bdd9296442..7c58bd2f5f 100644 --- a/gtk2_ardour/time_fx_dialog.cc +++ b/gtk2_ardour/time_fx_dialog.cc @@ -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->set_session (e.session()); 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); clock_align->add (*duration_clock);