13
0

fix action names in Mackie code after Editor=>Control migration

This commit is contained in:
Paul Davis 2017-01-28 18:50:12 +01:00
parent 220fbbe0d8
commit 41aaee6fe9

View File

@ -364,7 +364,7 @@ MackieControlProtocol::drop_press (Button &)
toggle_punch_in();
return none;
} else {
access_action ("Editor/start-range-from-playhead");
access_action ("Common/start-range-from-playhead");
}
return none;
}
@ -565,7 +565,7 @@ LedState
MackieControlProtocol::loop_press (Button &)
{
if (main_modifier_state() & MODIFIER_SHIFT) {
access_action ("Editor/set-loop-from-edit-range");
access_action ("Common/set-loop-from-edit-range");
return off;
} else {
bool was_on = session->get_play_loop();
@ -883,7 +883,7 @@ MackieControlProtocol::clearsolo_press (Mackie::Button&)
// clears all solos and listens (pfl/afl)
if (main_modifier_state() & MODIFIER_SHIFT) {
access_action ("Editor/set-session-from-edit-range");
access_action ("Common/set-session-from-edit-range");
return none;
}
@ -1079,7 +1079,7 @@ MackieControlProtocol::replace_press (Mackie::Button&)
toggle_punch_out();
return none;
} else {
access_action ("Editor/finish-range-from-playhead");
access_action ("Common/finish-range-from-playhead");
}
return none;
}
@ -1092,7 +1092,7 @@ Mackie::LedState
MackieControlProtocol::click_press (Mackie::Button&)
{
if (main_modifier_state() & MODIFIER_SHIFT) {
access_action ("Editor/set-punch-from-edit-range");
access_action ("Common/set-punch-from-edit-range");
return off;
} else {
bool state = !Config->get_clicking();