13
0

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.
This commit is contained in:
Colin Fletcher 2015-06-16 16:20:26 +01:00
parent 3cb2f25d89
commit c41d51e80c

View File

@ -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 ());