mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
fix unnecessary error messages from time info box
This commit is contained in:
parent
723428e697
commit
f4827b470b
1 changed files with 5 additions and 1 deletions
|
|
@ -2246,7 +2246,11 @@ AudioClock::set_mode (Mode m)
|
|||
return;
|
||||
}
|
||||
|
||||
const timecnt_t existing_duration = is_duration ? current_duration () : timecnt_t ();
|
||||
timecnt_t existing_duration;
|
||||
|
||||
if (_session) {
|
||||
existing_duration = current_duration ();
|
||||
}
|
||||
|
||||
_mode = m;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue