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
This commit is contained in:
Carl Hetherington 2010-11-04 15:40:25 +00:00
parent 3903bc0cb2
commit f0d2fec29d
4 changed files with 12 additions and 10 deletions

View file

@ -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