config: fix hidden vars loaded from the toml not being written back

This commit is contained in:
Hyper
2025-01-18 00:19:00 +00:00
parent d56b823b00
commit 7484e85af5

View File

@@ -338,7 +338,7 @@ public:
bool IsHidden() override
{
return isHidden;
return isHidden && !IsLoadedFromConfig;
}
void ReadValue(toml::v3::ex::parse_result& toml) override