From db03860924e06319065f7a0271a744181dfe6262 Mon Sep 17 00:00:00 2001 From: Nikolaus Gullotta Date: Tue, 21 Jan 2020 09:04:36 -0600 Subject: Fix sessions not building according to template AFAICT, this was broken by either 5beeca2 or 242774e --- gtk2_ardour/ardour_ui_session.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk2_ardour/ardour_ui_session.cc') diff --git a/gtk2_ardour/ardour_ui_session.cc b/gtk2_ardour/ardour_ui_session.cc index 815961985c..e39a88f6f4 100644 --- a/gtk2_ardour/ardour_ui_session.cc +++ b/gtk2_ardour/ardour_ui_session.cc @@ -596,7 +596,7 @@ ARDOUR_UI::build_session_stage_two (std::string const& path, std::string const& Session* new_session; try { - new_session = new Session (*AudioEngine::instance(), path, snap_name, bus_profile.master_out_channels > 0 ? &bus_profile : NULL); + new_session = new Session (*AudioEngine::instance(), path, snap_name, bus_profile.master_out_channels > 0 ? &bus_profile : NULL, session_template); } catch (SessionException const& e) { cerr << "Here are the errors associated with this failed session:\n"; -- cgit v1.2.3