From b421cd26bb320925be621355efcdabec6fdd39b7 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 4 Feb 2023 00:23:13 +0100 Subject: [PATCH] Export Dialog: correctly init export channels The state has to be pushed to the manager during initialization, otherwise channel_config remains unset. This fixes an issue with files using the same filename (missing channel name) during stem export. --- gtk2_ardour/export_channel_selector.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gtk2_ardour/export_channel_selector.cc b/gtk2_ardour/export_channel_selector.cc index 91f24c191b..f57e860f5e 100644 --- a/gtk2_ardour/export_channel_selector.cc +++ b/gtk2_ardour/export_channel_selector.cc @@ -647,9 +647,8 @@ TrackExportChannelSelector::~TrackExportChannelSelector () void TrackExportChannelSelector::sync_with_manager () { - if (sync_with_manager_state ()) { - update_config(); - } + sync_with_manager_state (); + update_config(); } bool