Merge pull request #1 from io7m/native-lv2

Fix a crash when running in Ardour 5.

many thanks to @io7m!
pull/2/head
Holger 7 years ago committed by GitHub
commit c19776380c
  1. 2
      src/dexed.cpp

@ -801,7 +801,7 @@ uint8_t Dexed::getEngineType() {
void Dexed::setEngineType(uint8_t tp) {
TRACE("settings engine %d", tp);
if(engineType==tp)
if(engineType==tp && controllers.core!=NULL)
return;
switch (tp) {

Loading…
Cancel
Save