From c41d51e80ccf8d54dc8b6143bb16441ea0d5b464 Mon Sep 17 00:00:00 2001 From: Colin Fletcher Date: Tue, 16 Jun 2015 16:20:26 +0100 Subject: Accept changes to Insert/Remove time clocks without Pass 'true' to accept_on_focus_out of AudioClock, so that editing the insert/remove time clock and then clicking elsewhere without hitting first doesn't mysteriously set the time back to 00:00:00.000. --- gtk2_ardour/insert_remove_time_dialog.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/insert_remove_time_dialog.cc b/gtk2_ardour/insert_remove_time_dialog.cc index 58345aed65..888a0bdf20 100644 --- a/gtk2_ardour/insert_remove_time_dialog.cc +++ b/gtk2_ardour/insert_remove_time_dialog.cc @@ -31,7 +31,13 @@ using namespace Editing; InsertRemoveTimeDialog::InsertRemoveTimeDialog (PublicEditor& e, bool remove) : ArdourDialog (remove ? _("Remove Time") : _("Insert Time")) , _editor (e) - , _clock ("insertTimeClock", true, "", true, false, true, false) + , _clock ("insertTimeClock", true, "", + true, // editable + false, // follows_playhead + true, // duration + false, // with_info + true // accept_on_focus_out + ) { set_session (_editor.session ()); -- cgit v1.2.3