GUI Editor should show the right parent position.

This commit is contained in:
dfighter1985 2014-10-12 23:07:08 +02:00
parent a96cdafb29
commit cc3e44ac2b

View file

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