summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Fletcher <colin.m.fletcher@googlemail.com>2015-06-16 16:20:26 +0100
committerColin Fletcher <colin.m.fletcher@googlemail.com>2015-06-17 17:15:21 +0100
commitc41d51e80ccf8d54dc8b6143bb16441ea0d5b464 (patch)
tree7c3b87b2dfd42b31f8055c1513a677e675e6dd02
parent3cb2f25d898acbc52ec3a94f67f86382cf6c39ef (diff)
Accept changes to Insert/Remove time clocks without <Enter>
Pass 'true' to accept_on_focus_out of AudioClock, so that editing the insert/remove time clock and then clicking elsewhere without hitting <Enter> first doesn't mysteriously set the time back to 00:00:00.000.
-rw-r--r--gtk2_ardour/insert_remove_time_dialog.cc8
1 files changed, 7 insertions, 1 deletions
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 ());