delete slave during Session::destroy
[ardour.git] / libs / surfaces / faderport8 / callbacks.cc
index d6f12150b4441cead62c5e7529dc447aeac97fa4..fd5d1407cbae09cd61203fac138dc98843e6fd69 100644 (file)
@@ -100,6 +100,7 @@ FaderPort8::notify_automation_mode_changed ()
        _ctrls.button (FP8Controls::BtnATouch).set_active (as == Touch);
        _ctrls.button (FP8Controls::BtnARead).set_active (as == Play);
        _ctrls.button (FP8Controls::BtnAWrite).set_active (as == Write);
+       _ctrls.button (FP8Controls::BtnALatch).set_active (as == Latch);
 }
 
 void
@@ -187,6 +188,9 @@ void
 FaderPort8::notify_solo_changed ()
 {
        bool soloing = session->soloing() || session->listening();
+#ifdef MIXBUS
+       soloing |= session->mixbus_soloed();
+#endif
        _ctrls.button (FP8Controls::BtnSoloClear).set_active (soloing);
 #ifdef FP8_MUTESOLO_UNDO
        if (soloing) {