13
0

Fix Mixbus special case

This commit is contained in:
Robin Gareus 2019-03-29 14:53:07 +01:00
parent 1a90cd90de
commit 932892f794
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -2302,12 +2302,15 @@ Editor::set_snap_mode (SnapMode mode)
void
Editor::set_edit_point_preference (EditPoint ep, bool force)
{
if (Profile->get_mixbus()) {
if (ep == EditAtSelectedMarker) {
ep = EditAtPlayhead;
}
}
bool changed = (_edit_point != ep);
_edit_point = ep;
if (Profile->get_mixbus())
if (ep == EditAtSelectedMarker)
ep = EditAtPlayhead;
string str = edit_point_strings[(int)ep];
if (str != edit_point_selector.get_text ()) {