don't abuse ScalePoints idea
[ardour.git] / libs / ardour / session_midi.cc
index c7bced83463cd7ecee0a85ce64e430dabde6bd5c..baff2c7bfec9b5140de01d5727977b26f40e5b32 100644 (file)
@@ -350,7 +350,7 @@ Session::mmc_record_enable (MIDI::MachineControl &mmc, size_t trk, bool enabled)
 
                if ((at = dynamic_cast<AudioTrack*>((*i).get())) != 0) {
                        if (trk == at->remote_control_id()) {
-                               at->set_record_enabled (enabled, &mmc);
+                               at->set_record_enabled (enabled, Controllable::UseGroup);
                                break;
                        }
                }