Routes made inactive will be bank-switched out. Add remove last capture and save...
[ardour.git] / libs / surfaces / mackie / route_signal.cc
index 832a8843a86dcc768c37421edfc0e57662ec8798..7822c7c0f1bcd23c0759bc33e89e4997849bf337 100644 (file)
@@ -63,8 +63,11 @@ void RouteSignal::connect()
                // with can't be record-enabled
        }
 
+       // TODO this works when a currently-banked route is made inactive, but not
+       // when a route is activated which should be currently banked.
+       cins = _route.active_changed.connect( sigc::bind ( mem_fun ( _mcp, &MackieControlProtocol::notify_active_changed ), this ) );
+       
        // TODO
-       // active_changed
        // SelectedChanged
        // RemoteControlIDChanged. Better handled at Session level.
 }