@@ -723,6 +723,7 @@ bool CarlaEngine::addPlugin(const BinaryType btype, const PluginType ptype, | |||||
plugin->setVolume(oldVolume, true, true); | plugin->setVolume(oldVolume, true, true); | ||||
plugin->setActive(wasActive, true, true); | plugin->setActive(wasActive, true, true); | ||||
plugin->setEnabled(true); | |||||
callback(ENGINE_CALLBACK_RELOAD_ALL, id, 0, 0, 0.0f, nullptr); | callback(ENGINE_CALLBACK_RELOAD_ALL, id, 0, 0, 0.0f, nullptr); | ||||
} | } | ||||
@@ -1271,6 +1271,7 @@ public: | |||||
// reload plugin to recreate its ports | // reload plugin to recreate its ports | ||||
plugin->reload(); | plugin->reload(); | ||||
plugin->loadStateSave(*saveStatePtr); | plugin->loadStateSave(*saveStatePtr); | ||||
plugin->setEnabled(true); | |||||
} | } | ||||
return plugin->getName(); | return plugin->getName(); | ||||
@@ -658,10 +658,10 @@ class HostWindow(QMainWindow): | |||||
if not forced: | 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" | 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: | if ask != QMessageBox.Yes: | ||||
return | |||||
return False | |||||
return self.slot_engineStopTryAgain() | return self.slot_engineStopTryAgain() | ||||