This fixes an issue with Mixbus. If the default "Create Audio Tracks.."
template/script is not available. Nothing is selected.
Selecting a type/template is required to update various other dialog
fields. eg. "Name" field.
Previously: Create VCA. OK+Close. Re-open dialog. Now the
implicit default was "Audio Track" but the Name-field still showed "VCA".
}
}
+ if (!selected_default && ! trk_template_model->children().empty()) {
+ TreeModel::Children rows = trk_template_model->children();
+ trk_template_chooser.get_selection()->select(rows[0]);
+ }
+
std::vector<ARDOUR::TemplateInfo> route_templates;
ARDOUR::find_route_templates (route_templates);