diff options
author | Colin Fletcher <colin.m.fletcher@googlemail.com> | 2012-12-12 22:10:03 +0000 |
---|---|---|
committer | Colin Fletcher <colin.m.fletcher@googlemail.com> | 2012-12-12 22:10:03 +0000 |
commit | 17439ac72cbbfe70256d99c3380aa31a2eb7bd35 (patch) | |
tree | c447e7eade5c0e775e92079953d233d4ce35d6f8 /gtk2_ardour/editor_summary.cc | |
parent | 37c7d0cbc1bd48647a993852561fd934481a0429 (diff) |
Position playhead correctly on 'P' in editor summary pane, taking account of start offset. Fixes #5213.
git-svn-id: svn://localhost/ardour2/branches/3.0@13653 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_summary.cc')
-rw-r--r-- | gtk2_ardour/editor_summary.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_summary.cc b/gtk2_ardour/editor_summary.cc index e7ddb650ed..4e148e2e7b 100644 --- a/gtk2_ardour/editor_summary.cc +++ b/gtk2_ardour/editor_summary.cc @@ -316,7 +316,7 @@ EditorSummary::on_key_press_event (GdkEventKey* key) if (key->keyval == set_playhead_accel.accel_key && (int) key->state == set_playhead_accel.accel_mods) { if (_session) { get_pointer (x, y); - _session->request_locate ((framepos_t) x / _x_scale, _session->transport_rolling()); + _session->request_locate (_start + (framepos_t) x / _x_scale, _session->transport_rolling()); return true; } } |