Added shutdownOnClose Insight config param, to trigger a shutdown when the user closes the main Insight window.

This commit is contained in:
Nav
2023-07-14 18:39:27 +01:00
parent edcf62e67d
commit bc4939e48f
9 changed files with 56 additions and 1 deletions

View File

@@ -80,6 +80,10 @@ namespace Bloom
if (insightNode["activateOnStartup"]) {
this->activateOnStartup = insightNode["activateOnStartup"].as<bool>(this->activateOnStartup);
}
if (insightNode["shutdownOnClose"]) {
this->shutdownOnClose = insightNode["shutdownOnClose"].as<bool>(this->shutdownOnClose);
}
}
EnvironmentConfig::EnvironmentConfig(std::string name, const YAML::Node& environmentNode)