mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 09:19:01 +00:00
CHANGED: #1471 Squashed a bug that prevented many widgets from being serialized right. Therefore preventing correct display when loading the saved XML.
This commit is contained in:
parent
8a6d621881
commit
ff02875d45
1 changed files with 8 additions and 4 deletions
|
@ -1956,10 +1956,10 @@ namespace NLGUI
|
|||
|
||||
|
||||
// Clear all structures used only for init
|
||||
NLMISC::contReset (_ParentPositionsMap);
|
||||
NLMISC::contReset (_ParentSizesMap);
|
||||
NLMISC::contReset (_ParentSizesMaxMap);
|
||||
NLMISC::contReset (_LuaClassAssociation);
|
||||
//NLMISC::contReset (_ParentPositionsMap);
|
||||
//NLMISC::contReset (_ParentSizesMap);
|
||||
//NLMISC::contReset (_ParentSizesMaxMap);
|
||||
//NLMISC::contReset (_LuaClassAssociation);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -2553,6 +2553,10 @@ namespace NLGUI
|
|||
CWidgetManager::getInstance()->removeAllMasterGroups();
|
||||
_StyleMap.clear();
|
||||
_CtrlSheetSelection.deleteGroups();
|
||||
NLMISC::contReset (_ParentPositionsMap);
|
||||
NLMISC::contReset (_ParentSizesMap);
|
||||
NLMISC::contReset (_ParentSizesMaxMap);
|
||||
NLMISC::contReset (_LuaClassAssociation);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue