Browse Source

Avoid a false assertion

tags/v1.9.9
falkTX 7 years ago
parent
commit
8ca05951dc
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      source/backend/plugin/CarlaPluginLV2.cpp

+ 5
- 1
source/backend/plugin/CarlaPluginLV2.cpp View File

@@ -1268,7 +1268,11 @@ public:

void showCustomUI(const bool yesNo) override
{
CARLA_SAFE_ASSERT_RETURN(fUI.type != UI::TYPE_NULL,);
if (fUI.type == UI::TYPE_NULL)
{
CARLA_SAFE_ASSERT(!yesNo);
return;
}

const uintptr_t frontendWinId(pData->engine->getOptions().frontendWinId);



Loading…
Cancel
Save