From 19ab75f5e5e2561ef86452a9dd5e565139ce73ab Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 31 Oct 2022 22:47:11 +0100 Subject: [PATCH] Do not destroy Lua DSP GUIs (they are always generic UIs) --- 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 498a7255e4..e72e5c6723 100644 --- a/gtk2_ardour/processor_box.cc +++ b/gtk2_ardour/processor_box.cc @@ -4689,7 +4689,7 @@ ProcessorWindowProxy::ProcessorWindowProxy (string const & name, ProcessorBox* b if (pi) { _unmap_connection = signal_unmap.connect (sigc::bind ([] (ProxyBase* self, PluginType type) { ProcessorWindowProxy* me = dynamic_cast (self); - if (!me->is_custom) { + if (!me->is_custom || type == Lua) { return; } switch (UIConfiguration::instance ().get_plugin_gui_behavior ()) {