GUI Editor should show the right parent position.

--HG--
branch : dfighter-tools
This commit is contained in:
dfighter1985 2014-10-12 23:07:08 +02:00
parent b3dd26e01c
commit 487c6a3440

View file

@ -147,7 +147,9 @@ namespace NLGUI
} }
if( name == "posparent" ) if( name == "posparent" )
{ {
return CWidgetManager::getInstance()->getParser()->getParentPosAssociation( (CInterfaceElement*)this ); std::string pp;
getPosParent( pp );
return pp;
} }
else else
if( name == "sizeparent" ) if( name == "sizeparent" )