diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2008-11-09 08:30:38 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2008-11-09 08:30:38 +0000 |
commit | 51337991b019360a6d8e09e90f5726e1077287b8 (patch) | |
tree | 790b11cf07cac575f1f0e56d8cf9934d74ed0d7b | |
parent | e4c30241e8ed4ba79c37f568ca683be7644f52a8 (diff) |
slightly better way of cancelling audition in xfade editor
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4117 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r-- | gtk2_ardour/crossfade_edit.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gtk2_ardour/crossfade_edit.cc b/gtk2_ardour/crossfade_edit.cc index b47247c68d..99b11c5840 100644 --- a/gtk2_ardour/crossfade_edit.cc +++ b/gtk2_ardour/crossfade_edit.cc @@ -1366,11 +1366,7 @@ CrossfadeEditor::on_key_release_event (GdkEventKey* ev) break; case GDK_space: - if (audition_left_dry_button.get_active() || - audition_left_button.get_active () || - audition_right_dry_button.get_active () || - audition_right_button.get_active () || - audition_both_button.get_active ()) { + if (session.is_auditioning()) { cancel_audition (); } else { audition_both_button.set_active (!audition_both_button.get_active()); |