backend check for rec-safe (only allow to lock if not armed)

This commit is contained in:
Robin Gareus
2016-05-24 21:31:10 +02:00
parent ac7df69b49
commit cab6ae7137

View File

@@ -332,6 +332,10 @@ Track::set_record_safe (bool yn, Controllable::GroupControlDisposition group_ove
return;
}
if (record_enabled ()) {
return;
}
if (use_group (group_override, &RouteGroup::is_recenable)) {
_route_group->apply (&Track::set_record_safe, yn, Controllable::NoGroup);
return;