summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libs/ardour/location.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/location.cc b/libs/ardour/location.cc
index eef94797e9..3fcbbd600b 100644
--- a/libs/ardour/location.cc
+++ b/libs/ardour/location.cc
@@ -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;
}