mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 00:04:56 +01:00
improvement to last loop button commit for MCP
This commit is contained in:
parent
f55ebf26bd
commit
88dae1c766
1 changed files with 2 additions and 0 deletions
|
|
@ -568,7 +568,9 @@ MackieControlProtocol::loop_press (Button &)
|
||||||
access_action ("Common/set-loop-from-edit-range");
|
access_action ("Common/set-loop-from-edit-range");
|
||||||
return off;
|
return off;
|
||||||
} else {
|
} else {
|
||||||
|
bool was_on = session->get_play_loop();
|
||||||
loop_toggle ();
|
loop_toggle ();
|
||||||
|
return was_on ? off : on;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue