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
This commit is contained in:
Carl Hetherington
2011-11-14 22:59:40 +00:00
parent a6ce6f57a7
commit 8ae632fb84

View File

@@ -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