summaryrefslogtreecommitdiff
path: root/gtk2_ardour/audio_clock.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/audio_clock.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/audio_clock.cc')
-rw-r--r--gtk2_ardour/audio_clock.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/audio_clock.cc b/gtk2_ardour/audio_clock.cc
index a7f57c6820..3f60c6d3b1 100644
--- a/gtk2_ardour/audio_clock.cc
+++ b/gtk2_ardour/audio_clock.cc
@@ -1963,7 +1963,7 @@ AudioClock::build_ops_menu ()
if (editable && !is_duration && !_follows_playhead) {
ops_items.push_back (SeparatorElem());
ops_items.push_back (MenuElem (_("Set From Playhead"), sigc::mem_fun(*this, &AudioClock::set_from_playhead)));
- ops_items.push_back (MenuElem (_("Locate to this time"), sigc::mem_fun(*this, &AudioClock::locate)));
+ ops_items.push_back (MenuElem (_("Locate to This Time"), sigc::mem_fun(*this, &AudioClock::locate)));
}
}
@@ -1984,7 +1984,7 @@ AudioClock::locate ()
return;
}
- _session->request_locate (current_time(), false);
+ _session->request_locate (current_time(), _session->transport_rolling ());
}
void