Browse Source

Singlee: Only attempt to show GUI if plugin has one

tags/1.9.4
falkTX 11 years ago
parent
commit
6564aafeea
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      source/bridges/CarlaBridgePlugin.cpp

+ 6
- 1
source/bridges/CarlaBridgePlugin.cpp View File

@@ -523,7 +523,12 @@ int main(int argc, char* argv[])
else
{
carla_set_active(0, true);
carla_show_gui(0, true);

if (const CarlaPluginInfo* const pluginInfo = carla_get_plugin_info(0))
{
if (pluginInfo->hints & CarlaBackend::PLUGIN_HAS_GUI)
carla_show_gui(0, true);
}
}

client.ready();


Loading…
Cancel
Save