From 4d0619286da2609f3aaf5543b74a087becd0d39e Mon Sep 17 00:00:00 2001 From: falkTX Date: Thu, 18 Jan 2018 06:33:09 +0100 Subject: [PATCH] Fix crash showing LV2 show-interface UIs Fixes #569 --- source/backend/plugin/CarlaPluginLV2.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/backend/plugin/CarlaPluginLV2.cpp b/source/backend/plugin/CarlaPluginLV2.cpp index 3eb5d1273..a3d9b42bb 100644 --- a/source/backend/plugin/CarlaPluginLV2.cpp +++ b/source/backend/plugin/CarlaPluginLV2.cpp @@ -1483,10 +1483,9 @@ public: #ifndef LV2_UIS_ONLY_BRIDGES if (fUI.type == UI::TYPE_EMBED) { - fUI.window->setChildWindow(fUI.widget); - if (fUI.window != nullptr) { + fUI.window->setChildWindow(fUI.widget); fUI.window->show(); } else if (fExt.uishow != nullptr)