13
0

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:
Colin Fletcher 2014-07-29 16:33:39 +01:00
parent 982b95fb47
commit 6549fcbd86

View File

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