From 945849cfb5c901ab9557c338d1f1566a3d4c7ab4 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 18 Jan 2022 16:01:13 +0100 Subject: [PATCH] TriggerPage: show newly created tracks The default argument changed, see 76facc0b13f04188d and 670e1f9025da1b --- gtk2_ardour/trigger_page.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk2_ardour/trigger_page.cc b/gtk2_ardour/trigger_page.cc index f22afaec75..ae19c1c1c1 100644 --- a/gtk2_ardour/trigger_page.cc +++ b/gtk2_ardour/trigger_page.cc @@ -535,7 +535,7 @@ TriggerPage::no_strip_drag_data_received (Glib::RefPtr const& output_chan = session()->master_out()->n_inputs().n_audio(); } std::list > audio_tracks; - audio_tracks = session()->new_audio_track (region->sources().size(), output_chan, 0, 1, region->name(), PresentationInfo::max_order); + audio_tracks = session()->new_audio_track (region->sources().size(), output_chan, 0, 1, region->name(), PresentationInfo::max_order, Normal, true, true); if (!audio_tracks.empty()) { triggerbox = audio_tracks.front()->triggerbox (); } @@ -546,7 +546,7 @@ TriggerPage::no_strip_drag_data_received (Glib::RefPtr const& Config->get_strict_io () || Profile->get_mixbus (), boost::shared_ptr(), (ARDOUR::Plugin::PresetRecord*) 0, - (ARDOUR::RouteGroup*) 0, 1, region->name(), PresentationInfo::max_order, Normal, true); + (ARDOUR::RouteGroup*) 0, 1, region->name(), PresentationInfo::max_order, Normal, true, true); if (!midi_tracks.empty()) { triggerbox = midi_tracks.front()->triggerbox (); }