From 3d925ef503faae520c670464653856f62c6ca56b Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 8 Dec 2016 09:44:26 +0000 Subject: braces, please --- gtk2_ardour/editor.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc index f23f6b22f4..ea71b5ba0d 100644 --- a/gtk2_ardour/editor.cc +++ b/gtk2_ardour/editor.cc @@ -4659,9 +4659,11 @@ Editor::get_preferred_edit_position (EditIgnoreOption ignore, bool from_context_ framepos_t where = 0; EditPoint ep = _edit_point; - if (Profile->get_mixbus()) - if (ep == EditAtSelectedMarker) + if (Profile->get_mixbus()) { + if (ep == EditAtSelectedMarker) { ep = EditAtPlayhead; + } + } if (from_outside_canvas && (ep == EditAtMouse)) { ep = EditAtPlayhead; -- cgit v1.2.3