diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-11-18 16:48:01 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-11-18 16:48:01 +0000 |
commit | 133bfd4b4fc39e5c45c767041a9e35f8d011e38e (patch) | |
tree | 9696a50736501b401c0c85c7f71a09a91c971a50 /gtk2_ardour | |
parent | 149085ba160cf58cda46ada78f11fd5a3b4f6221 (diff) |
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
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/audio_clock.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk2_ardour/audio_clock.cc b/gtk2_ardour/audio_clock.cc index b5450a2e86..1f3ac61fb5 100644 --- a/gtk2_ardour/audio_clock.cc +++ b/gtk2_ardour/audio_clock.cc @@ -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; } |