mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-25 02:00:54 +00:00
Fixed: CViewText not updating visible text when used by CCtrlTextButton
This commit is contained in:
parent
356cc7c3df
commit
f1e4fa9739
1 changed files with 6 additions and 0 deletions
|
@ -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…
Reference in a new issue