From 5c2e1bd8073b3904efdf30f47720facf98c8ff18 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 15 Oct 2024 21:06:15 -0600 Subject: [PATCH] fix another case where SMF are imported and named incorrectly --- gtk2_ardour/editor_canvas.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk2_ardour/editor_canvas.cc b/gtk2_ardour/editor_canvas.cc index 398f5d96f7..0ab7c0cd5b 100644 --- a/gtk2_ardour/editor_canvas.cc +++ b/gtk2_ardour/editor_canvas.cc @@ -457,11 +457,11 @@ Editor::drop_paths_part_two (const vector& paths, timepos_t const & p, d if (tv->track()) { do_import (midi_paths, Editing::ImportSerializeFiles, ImportToTrack, - SrcBest, SMFTrackNumber, SMFTempoIgnore, pos, std::shared_ptr(), tv->track ()); + SrcBest, SMFFileAndTrackName, SMFTempoIgnore, pos, std::shared_ptr(), tv->track ()); if (UIConfiguration::instance().get_only_copy_imported_files() || copy) { do_import (audio_paths, Editing::ImportSerializeFiles, Editing::ImportToTrack, - SrcBest, SMFTrackName, SMFTempoIgnore, pos, std::shared_ptr(), tv->track ()); + SrcBest, SMFFileAndTrackName, SMFTempoIgnore, pos, std::shared_ptr(), tv->track ()); } else { do_embed (audio_paths, Editing::ImportSerializeFiles, ImportToTrack, pos, std::shared_ptr(), tv->track ()); }