When setting the Id of the decorated edit box, set the Id of the text as well.

--HG--
branch : dfighter-tools
hg/compatibility
dfighter1985 10 years ago
parent 67aa7a50d2
commit 2fe2077170

@ -33,6 +33,8 @@ namespace NLGUI
void moveBy( sint32 x, sint32 y );
void setIdRecurse( const std::string &newID );
std::string getProperty( const std::string &name ) const;
void setProperty( const std::string &name, const std::string &value );
xmlNodePtr serialize( xmlNodePtr parentNode, const char *type ) const;

@ -182,6 +182,12 @@ namespace NLGUI
_Pvt->updateCoords();
}
void CGroupEditBoxDecor::setIdRecurse( const std::string &newID )
{
CInterfaceElement::setIdRecurse( newID );
_ViewText->setIdRecurse( _ViewText->getShortId() );
}
std::string CGroupEditBoxDecor::getProperty( const std::string &name ) const
{
if( name == "tx_tl" )

Loading…
Cancel
Save