mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-17 13:01:42 +00:00
Fixed: CViewText not updating visible text when used by CCtrlTextButton
--HG-- branch : develop
This commit is contained in:
parent
8a55f1b1e9
commit
84dfa01176
1 changed files with 6 additions and 0 deletions
|
@ -42,6 +42,8 @@ namespace NLGUI
|
||||||
// ***************************************************************************
|
// ***************************************************************************
|
||||||
void CViewText::setupDefault ()
|
void CViewText::setupDefault ()
|
||||||
{
|
{
|
||||||
|
_ParentElm = NULL;
|
||||||
|
|
||||||
_CaseMode = CaseNormal;
|
_CaseMode = CaseNormal;
|
||||||
_Underlined = false;
|
_Underlined = false;
|
||||||
_StrikeThrough = false;
|
_StrikeThrough = false;
|
||||||
|
@ -2650,6 +2652,10 @@ namespace NLGUI
|
||||||
void CViewText::onInvalidateContent()
|
void CViewText::onInvalidateContent()
|
||||||
{
|
{
|
||||||
_InvalidTextContext= true;
|
_InvalidTextContext= true;
|
||||||
|
|
||||||
|
if (_ParentElm)
|
||||||
|
_ParentElm->invalidateCoords();
|
||||||
|
|
||||||
invalidateCoords();
|
invalidateCoords();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue