13
0

braces, please

This commit is contained in:
Paul Davis 2016-12-08 09:44:26 +00:00
parent e1ca4b2887
commit 3d925ef503

View File

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