Skip to content

Commit 2d74bcf

Browse files
committed
Fix regression with saving/loading child configs
Seems like a minor thing slipped under the radar in commit 67de63b
1 parent 67de63b commit 2d74bcf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/config/XMLConfig.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -480,8 +480,8 @@ class XMLChildConfig
480480
{
481481
m_parentConfig = {
482482
.lock = [getParentConfig]() { return getParentConfig().Lock(); },
483-
.save = [getParentConfig]() { return getParentConfig().Load(); },
484-
.load = [getParentConfig]() { return getParentConfig().Save(); },
483+
.save = [getParentConfig]() { return getParentConfig().Save(); },
484+
.load = [getParentConfig]() { return getParentConfig().Load(); },
485485
};
486486

487487
auto configParser = std::make_pair(

0 commit comments

Comments
 (0)