Do not destroy Lua DSP GUIs (they are always generic UIs)
This commit is contained in:
parent
d425bfc3ff
commit
19ab75f5e5
@ -4689,7 +4689,7 @@ ProcessorWindowProxy::ProcessorWindowProxy (string const & name, ProcessorBox* b
|
|||||||
if (pi) {
|
if (pi) {
|
||||||
_unmap_connection = signal_unmap.connect (sigc::bind ([] (ProxyBase* self, PluginType type) {
|
_unmap_connection = signal_unmap.connect (sigc::bind ([] (ProxyBase* self, PluginType type) {
|
||||||
ProcessorWindowProxy* me = dynamic_cast<ProcessorWindowProxy*> (self);
|
ProcessorWindowProxy* me = dynamic_cast<ProcessorWindowProxy*> (self);
|
||||||
if (!me->is_custom) {
|
if (!me->is_custom || type == Lua) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
switch (UIConfiguration::instance ().get_plugin_gui_behavior ()) {
|
switch (UIConfiguration::instance ().get_plugin_gui_behavior ()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user