13
0

Do not destroy Lua DSP GUIs (they are always generic UIs)

This commit is contained in:
Robin Gareus 2022-10-31 22:47:11 +01:00
parent d425bfc3ff
commit 19ab75f5e5
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -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<ProcessorWindowProxy*> (self);
if (!me->is_custom) {
if (!me->is_custom || type == Lua) {
return;
}
switch (UIConfiguration::instance ().get_plugin_gui_behavior ()) {