mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-25 16:46:17 +00:00
CHANGED: #1471 CCtrlTextButton created CViewText shouldn't be serialized.
This commit is contained in:
parent
e232398e12
commit
2de8839186
2 changed files with 2 additions and 2 deletions
|
@ -508,6 +508,7 @@ namespace NLGUI
|
||||||
else
|
else
|
||||||
_ViewText= new CViewText(CViewBase::TCtorParam());
|
_ViewText= new CViewText(CViewBase::TCtorParam());
|
||||||
_ViewText->setId(_Id+"_text");
|
_ViewText->setId(_Id+"_text");
|
||||||
|
_ViewText->setSerializable( false );
|
||||||
_ViewText->parseTextOptions(cur);
|
_ViewText->parseTextOptions(cur);
|
||||||
_ViewText->setAvoidResizeParent(avoidResizeParent());
|
_ViewText->setAvoidResizeParent(avoidResizeParent());
|
||||||
if(_IsViewTextId)
|
if(_IsViewTextId)
|
||||||
|
|
|
@ -1353,8 +1353,7 @@ namespace NLGUI
|
||||||
if (parentGroup->getElement(view->getId()) != NULL)
|
if (parentGroup->getElement(view->getId()) != NULL)
|
||||||
{
|
{
|
||||||
// Remove old groupe and replace
|
// Remove old groupe and replace
|
||||||
// TODO: Don't save widgets created by complex widgets
|
if ( reload )
|
||||||
if ( true /*reload*/)
|
|
||||||
parentGroup->delElement (view->getId());
|
parentGroup->delElement (view->getId());
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue