set a boolean flag as needed to break out of MIDI tempo map import

This commit is contained in:
Paul Davis 2021-05-08 18:38:39 -06:00
parent 78d56daf0a
commit 600e959db5
1 changed files with 1 additions and 0 deletions

View File

@ -384,6 +384,7 @@ Editor::do_import (vector<string> paths,
if (!tempo_map_done && smf_tempo_disposition == SMFTempoUse) {
if (smf.num_tempos() > 0) {
import_smf_tempo_map (smf, pos);
tempo_map_done = true;
}
}