Fix an exception with -export=functionList while absence of config.xml
This commit is contained in:
parent
bbeb66aa56
commit
c58f3f7cb3
@ -5709,7 +5709,7 @@ void NppParameters::createXmlTreeFromGUIParams()
|
||||
TiXmlNode *oldGUIRoot = nppRoot->FirstChildElement(TEXT("GUIConfigs"));
|
||||
TiXmlElement* dockMngNodeDup = nullptr;
|
||||
TiXmlNode* dockMngNodeOriginal = nullptr;
|
||||
if (_nppGUI._isCmdlineNosessionActivated)
|
||||
if (oldGUIRoot && _nppGUI._isCmdlineNosessionActivated)
|
||||
{
|
||||
for (TiXmlNode *childNode = oldGUIRoot->FirstChildElement(TEXT("GUIConfig"));
|
||||
childNode;
|
||||
|
Loading…
Reference in New Issue
Block a user