don't call end_edit() when losing focus from an audio clock if we were not editing

git-svn-id: svn://localhost/ardour2/branches/3.0@10677 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2011-11-18 16:48:01 +00:00
parent 149085ba16
commit 133bfd4b4f

View file

@ -1225,7 +1225,9 @@ AudioClock::on_focus_out_event (GdkEventFocus* ev)
{
bool ret = CairoWidget::on_focus_out_event (ev);
end_edit (false);
if (editing) {
end_edit (false);
}
return ret;
}