From 086bfcc01112284567f30b574c1e1d56602fa650 Mon Sep 17 00:00:00 2001 From: falkTX Date: Fri, 27 Apr 2018 23:19:43 +0300 Subject: [PATCH] Fix lv2 plugins as bridges not showing bridged custom UI --- source/backend/plugin/CarlaPluginLV2.cpp | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/source/backend/plugin/CarlaPluginLV2.cpp b/source/backend/plugin/CarlaPluginLV2.cpp index fecd8b72e..be7ff3991 100644 --- a/source/backend/plugin/CarlaPluginLV2.cpp +++ b/source/backend/plugin/CarlaPluginLV2.cpp @@ -1454,7 +1454,6 @@ public: fUI.window->setChildWindow(fUI.widget); fUI.window->setTitle(fLv2Options.windowTitle); } - } CARLA_SAFE_ASSERT(fUI.handle != nullptr); @@ -5432,10 +5431,15 @@ public: const LV2_Property uiType(fUI.rdfDescriptor->Type); if ( - (iFinal == eQt4 || iFinal == eQt5 || iFinal == eGtk2 || iFinal == eGtk3 || - iFinal == eCocoa || iFinal == eWindows || iFinal == eX11) + (iFinal == eQt4 || + iFinal == eQt5 || + iFinal == eGtk2 || + iFinal == eGtk3 || + iFinal == eCocoa || + iFinal == eWindows || + iFinal == eX11) #ifdef BUILD_BRIDGE - && preferUiBridges && ! hasShowInterface + && ! hasShowInterface #endif ) {