From cc56f92a73033be9b8ef9d3b4aaca8da5726841e Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 29 Jul 2024 17:25:06 -0600 Subject: [PATCH] modify caa0cc879067 to actually pass a reference to the selected plugin --- gtk2_ardour/processor_box.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/processor_box.cc b/gtk2_ardour/processor_box.cc index f617b4f44b..133bc72883 100644 --- a/gtk2_ardour/processor_box.cc +++ b/gtk2_ardour/processor_box.cc @@ -4969,7 +4969,7 @@ ProcessorBox::selection_added (ProcessorEntry& pe) /* be explicit here about the fact that we're using a weak pointer, even though we probably don't need to be. */ - std::weak_ptr wpi; + std::weak_ptr wpi = pi; ControlProtocol::PluginSelected (wpi); } }