From 9272dbe49650106b63785deb2df4781148fdab72 Mon Sep 17 00:00:00 2001 From: Colin Fletcher Date: Tue, 29 Jul 2014 16:33:39 +0100 Subject: [PATCH] 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. --- libs/ardour/location.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }