Don't disable the active group before serializing.

--HG--
branch : dfighter-tools
This commit is contained in:
dfighter1985 2014-10-13 20:15:41 +02:00
parent ab76b7ed85
commit 2b5898565f

View file

@ -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 );