13
0

Include Track-number with stem-exports, if track-numbers are present.

This commit is contained in:
Robin Gareus 2018-10-02 23:28:44 +02:00
parent 40316437a4
commit e36aa9fab7

View File

@ -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());
}
}
}