13
0

fix implicit active display in VCA strips for solo

This commit is contained in:
Paul Davis 2016-04-21 02:06:01 -04:00
parent 5b5e64d860
commit 1c5a08d6d3

View File

@ -249,8 +249,10 @@ VCAMasterStrip::mute_changed ()
void
VCAMasterStrip::solo_changed ()
{
if (_vca->solo_control()->soloed() || _vca->solo_control()->get_masters_value()) {
if (_vca->solo_control()->self_soloed()) {
solo_button.set_active_state (ExplicitActive);
} else if (_vca->solo_control()->soloed_by_masters ()) {
solo_button.set_active_state (ImplicitActive);
} else {
solo_button.set_active_state (Gtkmm2ext::Off);
}