diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-07-24 16:40:56 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-07-24 16:40:56 +0000 |
commit | c685724c8067fc9308c5f66f1b91d445509159e9 (patch) | |
tree | 5261c9d9c168f4f8351e1855f080d0688889e751 /libs/ardour/session_midi.cc | |
parent | e3241a03cf3d3d4cc09c125340444c6f72e0346b (diff) |
step editing now accessed via a context menu on MIDI track rec-enable buttons. along the way, fixed up confusion between set_rec_enable() and set_rec_enabled() methods in Route/Track/Diskstream
git-svn-id: svn://localhost/ardour2/branches/3.0@7482 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/session_midi.cc')
-rw-r--r-- | libs/ardour/session_midi.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/session_midi.cc b/libs/ardour/session_midi.cc index 3939b544b4..2ce3310f47 100644 --- a/libs/ardour/session_midi.cc +++ b/libs/ardour/session_midi.cc @@ -130,7 +130,7 @@ Session::mmc_record_pause (MIDI::MachineControl &/*mmc*/) void Session::mmc_record_strobe (MIDI::MachineControl &/*mmc*/) { - if (!Config->get_mmc_control()) { + if (!Config->get_mmc_control() || (_step_editors > 0)) { return; } @@ -335,7 +335,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_enable (enabled, &mmc); + at->set_record_enabled (enabled, &mmc); break; } } |