fix
This commit is contained in:
@@ -97,8 +97,8 @@ mgmt_app_config::mgmt_app_config(bool hidden, bool launch_only)
|
||||
api_user_ = data.at(JSON_API_USER).get<std::string>();
|
||||
|
||||
auto should_save{not data.contains(JSON_AUTO_START)};
|
||||
auto_start_ =
|
||||
should_save ? auto_start_ : data.at(JSON_AUTO_START).get<bool>();
|
||||
auto_start_ = should_save ? auto_start_.load()
|
||||
: data.at(JSON_AUTO_START).get<bool>();
|
||||
|
||||
if (data.contains(JSON_ANIMATIONS)) {
|
||||
animations_ = data.at(JSON_ANIMATIONS).get<bool>();
|
||||
|
Reference in New Issue
Block a user