Browse Source

Finish carla rack always in disabled state if loading bad project

tags/1.9.8
falkTX 7 years ago
parent
commit
71065e6315
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      source/backend/engine/CarlaEngine.cpp

+ 1
- 0
source/backend/engine/CarlaEngine.cpp View File

@@ -1972,6 +1972,7 @@ bool CarlaEngine::loadProjectInternal(water::XmlDocument& xmlDoc)

if (! (xmlType.equalsIgnoreCase("carla-project") || isPreset))
{
callback(ENGINE_CALLBACK_PROJECT_LOAD_FINISHED, 0, 0, 0, 0.0f, nullptr);
setLastError("Not a valid Carla project or preset file");
return false;
}


Loading…
Cancel
Save