From c685724c8067fc9308c5f66f1b91d445509159e9 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sat, 24 Jul 2010 16:40:56 +0000 Subject: 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 --- libs/ardour/session_midi.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libs/ardour/session_midi.cc') 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((*i).get())) != 0) { if (trk == at->remote_control_id()) { - at->set_record_enable (enabled, &mmc); + at->set_record_enabled (enabled, &mmc); break; } } -- cgit v1.2.3