diff --git a/PowerEditor/src/Parameters.cpp b/PowerEditor/src/Parameters.cpp index f91d92e64..bc0e02fab 100644 --- a/PowerEditor/src/Parameters.cpp +++ b/PowerEditor/src/Parameters.cpp @@ -7245,6 +7245,8 @@ void NppParameters::insertUserLang2Tree(TiXmlNode *node, UserLangContainer *user rootElement->SetAttribute(TEXT("name"), userLang->_name); rootElement->SetAttribute(TEXT("ext"), userLang->_ext); + if (userLang->_isDarkModeTheme) + rootElement->SetAttribute(TEXT("darkModeTheme"), TEXT("yes")); rootElement->SetAttribute(TEXT("udlVersion"), udlVersion.c_str()); TiXmlElement *settingsElement = (rootElement->InsertEndChild(TiXmlElement(TEXT("Settings"))))->ToElement();