diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2007-04-06 12:57:41 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2007-04-06 12:57:41 +0000 |
commit | f388715a5937bdb30b221d31606ffa0d1b58c8f3 (patch) | |
tree | 1bcbf42e2444efc8872ee2171e3be3b0826f2300 /gtk2_ardour/editor_rulers.cc | |
parent | 0eafb1f3005d0ddf9f8ce8c6bde30f0ac641aa61 (diff) |
don't let auditioning make transport buttons inaccessible; delete/rename snapshots (from carl & puddingpimp)
git-svn-id: svn://localhost/ardour2/trunk@1673 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_rulers.cc')
-rw-r--r-- | gtk2_ardour/editor_rulers.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk2_ardour/editor_rulers.cc b/gtk2_ardour/editor_rulers.cc index 1a928002a8..6338993ae2 100644 --- a/gtk2_ardour/editor_rulers.cc +++ b/gtk2_ardour/editor_rulers.cc @@ -151,6 +151,11 @@ Editor::ruler_button_press (GdkEventButton* ev) switch (ev->button) { case 1: + // Since we are about to move the playhead, cancel any running + // auditions. + if (session->is_auditioning()) { + session->cancel_audition (); + } /* transport playhead */ snap_to (where); session->request_locate (where); |