summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-11-14 22:59:40 +0000
committerCarl Hetherington <carl@carlh.net>2011-11-14 22:59:40 +0000
commit8ae632fb84de5a3f8e6ad858f6f345251a6ba775 (patch)
tree78f562af459d7d9357c6948f7adecd74bcdb3e86
parenta6ce6f57a7ca706c5e941c45f278e7d6f6147da0 (diff)
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
-rw-r--r--gtk2_ardour/ardour_ui2.cc6
1 files 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