From 8ae632fb84de5a3f8e6ad858f6f345251a6ba775 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 14 Nov 2011 22:59:40 +0000 Subject: [PATCH] Fix cancel of an audition now that the alert button's get_active() state is used to flash it (so that either state can be active when the auditioning state is set). git-svn-id: svn://localhost/ardour2/branches/3.0@10600 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/ardour_ui2.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/gtk2_ardour/ardour_ui2.cc b/gtk2_ardour/ardour_ui2.cc index 900f472f37..23dac7e01b 100644 --- a/gtk2_ardour/ardour_ui2.cc +++ b/gtk2_ardour/ardour_ui2.cc @@ -462,10 +462,8 @@ ARDOUR_UI::soloing_changed (bool onoff) void ARDOUR_UI::_auditioning_changed (bool onoff) { - if (auditioning_alert_button.get_active() != onoff) { - auditioning_alert_button.set_active (onoff); - set_transport_sensitivity (!onoff); - } + auditioning_alert_button.set_active (onoff); + set_transport_sensitivity (!onoff); } void