fix implicit active display in VCA strips for solo
authorPaul Davis <paul@linuxaudiosystems.com>
Thu, 21 Apr 2016 06:06:01 +0000 (02:06 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Tue, 31 May 2016 19:30:41 +0000 (15:30 -0400)
gtk2_ardour/vca_master_strip.cc

index c1615edab787b53a55055da82d8001a03304a946..590b7c8d2ece62b713de543c13f67905c53e6a13 100644 (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);
        }