Fix crash showing LV2 show-interface UIs

Fixes #569
This commit is contained in:
falkTX 2018-01-18 06:33:09 +01:00
parent 97aa532c7a
commit 4d0619286d
1 changed files with 1 additions and 2 deletions

View File

@ -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)