We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c27d0f commit ac04b9dCopy full SHA for ac04b9d
Source/Config/Config.h
@@ -62,8 +62,9 @@ class Config {
62
void restoreDefaults() noexcept
63
{
64
ConfigVariableTypes::forEach([this] <typename ConfigVariable> (std::type_identity<ConfigVariable>) {
65
- this->setVariable<ConfigVariable>(ConfigVariable::kDefaultValue);
+ this->setVariableWithoutAutoSave<ConfigVariable>(ConfigVariable::kDefaultValue);
66
});
67
+ scheduleAutoSave();
68
hookContext.gui().updateFromConfig();
69
}
70
0 commit comments