mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-25 16:26:18 +00:00
CHANGED: #1471 Need to serialize root group first, otherwise client crashes when loading the pointer settings.
This commit is contained in:
parent
cc9d9cc424
commit
456e64d3e0
1 changed files with 7 additions and 6 deletions
|
@ -43,6 +43,13 @@ namespace GUIEditor
|
|||
return false;
|
||||
}
|
||||
|
||||
if( mg->serializeGroup( root, "root" ) == NULL )
|
||||
{
|
||||
xmlFreeNode( root );
|
||||
out.close();
|
||||
return false;
|
||||
}
|
||||
|
||||
if( !CWidgetManager::getInstance()->serializeOptions( root ) )
|
||||
{
|
||||
xmlFreeNode( root );
|
||||
|
@ -81,12 +88,6 @@ namespace GUIEditor
|
|||
return false;
|
||||
}
|
||||
|
||||
if( mg->serializeGroup( root, "root" ) == NULL )
|
||||
{
|
||||
xmlFreeNode( root );
|
||||
out.close();
|
||||
return false;
|
||||
}
|
||||
|
||||
if( mg->serializeSubGroups( root ) == NULL )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue