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>(); |       api_user_ = data.at(JSON_API_USER).get<std::string>(); | ||||||
|  |  | ||||||
|       auto should_save{not data.contains(JSON_AUTO_START)}; |       auto should_save{not data.contains(JSON_AUTO_START)}; | ||||||
|       auto_start_ = |       auto_start_ = should_save ? auto_start_.load() | ||||||
|           should_save ? auto_start_ : data.at(JSON_AUTO_START).get<bool>(); |                                 : data.at(JSON_AUTO_START).get<bool>(); | ||||||
|  |  | ||||||
|       if (data.contains(JSON_ANIMATIONS)) { |       if (data.contains(JSON_ANIMATIONS)) { | ||||||
|         animations_ = data.at(JSON_ANIMATIONS).get<bool>(); |         animations_ = data.at(JSON_ANIMATIONS).get<bool>(); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user