mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-27 19:30:54 +00:00
CHANGED: #1471 Some type changes for serializing.
This commit is contained in:
parent
01957ebf8d
commit
08b3c5f6e2
2 changed files with 4 additions and 1 deletions
|
@ -153,6 +153,9 @@ namespace NLGUI
|
|||
if( node == NULL )
|
||||
return NULL;
|
||||
|
||||
if( xmlGetProp( node, BAD_CAST "type" ) == NULL )
|
||||
xmlSetProp( node, BAD_CAST "type", BAD_CAST "button" );
|
||||
|
||||
xmlNewProp( node, BAD_CAST "tx_normal",
|
||||
BAD_CAST CViewRenderer::getInstance()->getTextureNameFromId( _TextureIdNormal ).c_str() );
|
||||
|
||||
|
|
|
@ -799,7 +799,7 @@ namespace NLGUI
|
|||
return NULL;
|
||||
|
||||
if( xmlGetProp( node, BAD_CAST "type" ) == NULL )
|
||||
xmlSetProp( node, BAD_CAST "type", BAD_CAST "tab_button" );
|
||||
xmlSetProp( node, BAD_CAST "type", BAD_CAST "tab" );
|
||||
|
||||
xmlNewProp( node, BAD_CAST "group", BAD_CAST _AssociatedGroup.c_str() );
|
||||
|
||||
|
|
Loading…
Reference in a new issue