diff --git a/source/backend/engine/CarlaEngine.cpp b/source/backend/engine/CarlaEngine.cpp index 90cfb2e99..dbfa92f50 100644 --- a/source/backend/engine/CarlaEngine.cpp +++ b/source/backend/engine/CarlaEngine.cpp @@ -723,6 +723,7 @@ bool CarlaEngine::addPlugin(const BinaryType btype, const PluginType ptype, plugin->setVolume(oldVolume, true, true); plugin->setActive(wasActive, true, true); + plugin->setEnabled(true); callback(ENGINE_CALLBACK_RELOAD_ALL, id, 0, 0, 0.0f, nullptr); } diff --git a/source/backend/engine/CarlaEngineJack.cpp b/source/backend/engine/CarlaEngineJack.cpp index 8d8ce64f8..d1af13027 100644 --- a/source/backend/engine/CarlaEngineJack.cpp +++ b/source/backend/engine/CarlaEngineJack.cpp @@ -1271,6 +1271,7 @@ public: // reload plugin to recreate its ports plugin->reload(); plugin->loadStateSave(*saveStatePtr); + plugin->setEnabled(true); } return plugin->getName(); diff --git a/source/carla_host.py b/source/carla_host.py index c42904520..1b172e8d1 100644 --- a/source/carla_host.py +++ b/source/carla_host.py @@ -658,10 +658,10 @@ class HostWindow(QMainWindow): if not forced: ask = QMessageBox.question(self, self.tr("Warning"), self.tr("There are still some plugins loaded, you need to remove them to stop the engine.\n" - "Do you want to do this now?"), - QMessageBox.Yes | QMessageBox.No, QMessageBox.No) + "Do you want to do this now?"), + QMessageBox.Yes | QMessageBox.No, QMessageBox.No) if ask != QMessageBox.Yes: - return + return False return self.slot_engineStopTryAgain()