diff --git a/source/preset.cpp b/source/preset.cpp index fd4a0a1..843057e 100644 --- a/source/preset.cpp +++ b/source/preset.cpp @@ -140,9 +140,8 @@ bool LoadPreset(std::string_view presetName, OptionCategory category) { if (!setting->IsCategory(category)) { continue; } else if (!curNode->GetText()) { - continue; + curNode->SetText(""); } - // Since presets are saved linearly, we can simply loop through the nodes as // we loop through the settings to find most of the matching elements. const std::string& settingToFind = RemoveLineBreaks(setting->GetName());