GUI Editor should show the right parent position.

This commit is contained in:
dfighter1985 2014-10-12 23:07:08 +02:00
parent 085f500557
commit c8dd68418f

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" )