From 2d74bcfbfa3034f8db1e1f5e3a7d58e4013bfe65 Mon Sep 17 00:00:00 2001 From: Crementif <26669564+Crementif@users.noreply.github.com> Date: Wed, 16 Jul 2025 16:06:39 +0200 Subject: [PATCH] Fix regression with saving/loading child configs Seems like a minor thing slipped under the radar in commit 67de63bed6c54ee158380f683a65874fc0a993ff --- src/config/XMLConfig.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config/XMLConfig.h b/src/config/XMLConfig.h index 2e46b8db..ea9cca82 100644 --- a/src/config/XMLConfig.h +++ b/src/config/XMLConfig.h @@ -480,8 +480,8 @@ class XMLChildConfig { m_parentConfig = { .lock = [getParentConfig]() { return getParentConfig().Lock(); }, - .save = [getParentConfig]() { return getParentConfig().Load(); }, - .load = [getParentConfig]() { return getParentConfig().Save(); }, + .save = [getParentConfig]() { return getParentConfig().Save(); }, + .load = [getParentConfig]() { return getParentConfig().Load(); }, }; auto configParser = std::make_pair(