temporal: special case editing of the initial tempo (#9339)
This commit is contained in:
parent
d742e876d1
commit
bb97ade440
@ -1121,6 +1121,12 @@ TempoMap::change_tempo (TempoPoint & p, Tempo const & t)
|
||||
void
|
||||
TempoMap::replace_tempo (TempoPoint const & old, Tempo const & t, timepos_t const & time)
|
||||
{
|
||||
if (old.sclock() == 0) {
|
||||
_tempos.front() = t;
|
||||
reset_starting_at (0);
|
||||
return;
|
||||
}
|
||||
|
||||
remove_tempo (old, false);
|
||||
set_tempo (t, time);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user