tempo edit: use ::replace_tempo() instead of ::set_tempo() after dialog

This commit is contained in:
Paul Davis 2022-12-20 21:56:37 -07:00
parent 253419a321
commit e2d265c018

View File

@ -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