Fix spurious 'You cannot put a CD marker at this location' error
Fix the spurious error that occurs when loading a session where any marker (not necessarily a CD marker) is located at 0 on the timeline.
This commit is contained in:
parent
982b95fb47
commit
6549fcbd86
@ -340,7 +340,7 @@ Location::set_cd (bool yn, void *src)
|
||||
// XXX this really needs to be session start
|
||||
// but its not available here - leave to GUI
|
||||
|
||||
if (_start == 0) {
|
||||
if (yn && _start == 0) {
|
||||
error << _("You cannot put a CD marker at this position") << endmsg;
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user