projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4031643
)
Include Track-number with stem-exports, if track-numbers are present.
author
Robin Gareus
<robin@gareus.org>
Tue, 2 Oct 2018 21:28:44 +0000
(23:28 +0200)
committer
Robin Gareus
<robin@gareus.org>
Tue, 2 Oct 2018 21:28:44 +0000
(23:28 +0200)
gtk2_ardour/export_channel_selector.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/export_channel_selector.cc
b/gtk2_ardour/export_channel_selector.cc
index 9043da31242b3addc8e38211ea4f38c26c51f5a5..c3cf20d41b45968d5cfec9251b737c87dc363c4f 100644
(file)
--- a/
gtk2_ardour/export_channel_selector.cc
+++ b/
gtk2_ardour/export_channel_selector.cc
@@
-739,7
+739,11
@@
TrackExportChannelSelector::update_config()
}
if (state) {
- state->config->set_name (route->name());
+ if (_session->config.get_track_name_number() && route->track_number() > 0) {
+ state->config->set_name (string_compose ("%1-%2", route->track_number(), route->name()));
+ } else {
+ state->config->set_name (route->name());
+ }
}
}