summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gtk2_ardour/crossfade_edit.cc6
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());