Fixed: CViewText not updating visible text when used by CCtrlTextButton

--HG--
branch : develop
hg/compatibility-develop
Nimetu 9 years ago
parent 8a55f1b1e9
commit 84dfa01176

@ -42,6 +42,8 @@ namespace NLGUI
// ***************************************************************************
void CViewText::setupDefault ()
{
_ParentElm = NULL;
_CaseMode = CaseNormal;
_Underlined = false;
_StrikeThrough = false;
@ -2650,6 +2652,10 @@ namespace NLGUI
void CViewText::onInvalidateContent()
{
_InvalidTextContext= true;
if (_ParentElm)
_ParentElm->invalidateCoords();
invalidateCoords();
}

Loading…
Cancel
Save