backport to Ardour: Don't set the MCU Click led state from the button
Allow the update process to get the correct state and update the LED.
This commit is contained in:
parent
d5113e6e91
commit
de0893cc8d
|
@ -1209,11 +1209,11 @@ MackieControlProtocol::click_press (Mackie::Button&)
|
||||||
{
|
{
|
||||||
if (main_modifier_state() & MODIFIER_SHIFT) {
|
if (main_modifier_state() & MODIFIER_SHIFT) {
|
||||||
access_action ("Editor/set-punch-from-edit-range");
|
access_action ("Editor/set-punch-from-edit-range");
|
||||||
return off;
|
return none;
|
||||||
} else {
|
} else {
|
||||||
bool state = !Config->get_clicking();
|
bool state = !Config->get_clicking();
|
||||||
Config->set_clicking (state);
|
Config->set_clicking (state);
|
||||||
return state;
|
return none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Mackie::LedState
|
Mackie::LedState
|
||||||
|
|
Loading…
Reference in New Issue
Block a user