mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-27 00:47:43 +01:00
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
83ea7d8271
commit
9272dbe496
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue