diff --git a/src/controllers/plugins/PluginController.cpp b/src/controllers/plugins/PluginController.cpp index dc9e62172..543e4bb73 100644 --- a/src/controllers/plugins/PluginController.cpp +++ b/src/controllers/plugins/PluginController.cpp @@ -31,6 +31,7 @@ void PluginController::initialize(Settings &settings, Paths &paths) { (void)paths; + // actuallyInitialize will be called by this connection settings.enableAnyPlugins.connect([this](bool enabled) { if (enabled) { @@ -47,7 +48,6 @@ void PluginController::initialize(Settings &settings, Paths &paths) this->plugins_.clear(); } }); - this->actuallyInitialize(); } // this function exists to allow for connecting to enableAnyPlugins option