Don't disable the active group before serializing.
--HG-- branch : dfighter-tools
This commit is contained in:
parent
ab76b7ed85
commit
2b5898565f
1 changed files with 0 additions and 4 deletions
|
@ -93,8 +93,6 @@ namespace GUIEditor
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
ag->setActive( false );
|
|
||||||
|
|
||||||
if( mg->serializeSubGroups( root ) == NULL )
|
if( mg->serializeSubGroups( root ) == NULL )
|
||||||
{
|
{
|
||||||
ag->setActive( true );
|
ag->setActive( true );
|
||||||
|
@ -103,8 +101,6 @@ namespace GUIEditor
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
ag->setActive( true );
|
|
||||||
|
|
||||||
if( !mg->serializeLinks( root ) )
|
if( !mg->serializeLinks( root ) )
|
||||||
{
|
{
|
||||||
xmlFreeNode( root );
|
xmlFreeNode( root );
|
||||||
|
|
Loading…
Reference in a new issue