mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
add option to name new MIDI tracks from SMF with just the SMF track name (gui editing)
This commit is contained in:
parent
f75f5b0ded
commit
61988bb032
1 changed files with 3 additions and 0 deletions
|
|
@ -111,6 +111,8 @@ string2miditracknamesource (string const & str)
|
|||
return SMFTrackNumber;
|
||||
} else if (str == _("by track name")) {
|
||||
return SMFTrackName;
|
||||
} else if (str == _("by file and track name")) {
|
||||
return SMFFileAndTrackName;
|
||||
} else if (str == _("by instrument name")) {
|
||||
return SMFInstrumentName;
|
||||
}
|
||||
|
|
@ -1981,6 +1983,7 @@ SoundFileOmega::SoundFileOmega (string title, ARDOUR::Session* s,
|
|||
str.clear ();
|
||||
str.push_back (_("by track number"));
|
||||
str.push_back (_("by track name"));
|
||||
str.push_back (_("by file and track name"));
|
||||
str.push_back (_("by instrument name"));
|
||||
set_popdown_strings (midi_track_name_combo, str);
|
||||
midi_track_name_combo.set_active_text (str.front());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue