tempo edit: use ::replace_tempo() instead of ::set_tempo() after dialog
This commit is contained in:
parent
253419a321
commit
e2d265c018
|
@ -686,7 +686,7 @@ Editor::edit_tempo_section (TempoPoint& section)
|
|||
tempo_dialog.get_bbt_time (when);
|
||||
|
||||
TempoMapChange tmc (*this, _("edit tempo"));
|
||||
tmc.map().set_tempo (tempo, when);
|
||||
tmc.map().replace_tempo (section, tempo, timepos_t (tmc.map().quarters_at (when)));
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in New Issue
Block a user