diff --git a/PowerEditor/src/Parameters.cpp b/PowerEditor/src/Parameters.cpp index ed43da77..89ae2066 100644 --- a/PowerEditor/src/Parameters.cpp +++ b/PowerEditor/src/Parameters.cpp @@ -5180,7 +5180,7 @@ void NppParameters::createXmlTreeFromGUIParams() // no { - TiXmlElement *element = insertGUIConfigBoolNode(newGUIRoot, TEXT("noUpdate"), _nppGUI._autoUpdateOpt._doAutoUpdate); + TiXmlElement *element = insertGUIConfigBoolNode(newGUIRoot, TEXT("noUpdate"), !_nppGUI._autoUpdateOpt._doAutoUpdate); element->SetAttribute(TEXT("intervalDays"), _nppGUI._autoUpdateOpt._intervalDays); element->SetAttribute(TEXT("nextUpdateDate"), _nppGUI._autoUpdateOpt._nextUpdateDate.toString().c_str()); }