MCP: repeated presses of play button will jump back to previous start (like GUI button)

git-svn-id: svn://localhost/ardour2/branches/3.0@11918 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2012-04-11 20:25:14 +00:00
parent 4b63b88e35
commit 496a1e6965

View file

@ -472,7 +472,11 @@ MackieControlProtocol::stop_release (Button &)
LedState
MackieControlProtocol::play_press (Button &)
{
transport_play ();
/* if we're already rolling, and we're pressed
again, jump back to where we started last time
*/
transport_play (session->transport_rolling());
return none;
}