summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_ui.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-11-04 15:40:25 +0000
committerCarl Hetherington <carl@carlh.net>2010-11-04 15:40:25 +0000
commitf0d2fec29dd00bf62ba946385dea603e20a5b7f4 (patch)
treeb6673f2e7b1712f9e4e82576c93e25d6c94e6462 /gtk2_ardour/ardour_ui.cc
parent3903bc0cb2764020ae7beab9f06f9b6ada6721a4 (diff)
Fix roll after locate from the audio clock context menu. Restore Go buttons in the location window. Fixes #3521.
git-svn-id: svn://localhost/ardour2/branches/3.0@7962 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/ardour_ui.cc')
-rw-r--r--gtk2_ardour/ardour_ui.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/ardour_ui.cc b/gtk2_ardour/ardour_ui.cc
index df03e955fa..3c0e5b91fa 100644
--- a/gtk2_ardour/ardour_ui.cc
+++ b/gtk2_ardour/ardour_ui.cc
@@ -1403,7 +1403,7 @@ restart JACK with more ports."), PROGRAM_NAME));
}
void
-ARDOUR_UI::do_transport_locate (nframes_t new_position)
+ARDOUR_UI::do_transport_locate (nframes_t new_position, bool with_roll)
{
nframes_t _preroll = 0;
@@ -1417,7 +1417,7 @@ ARDOUR_UI::do_transport_locate (nframes_t new_position)
new_position = 0;
}
- _session->request_locate (new_position);
+ _session->request_locate (new_position, with_roll);
}
}