From 2c6afe9bcc5eede3326d652422fd9ce43e351f85 Mon Sep 17 00:00:00 2001 From: Nimetu Date: Sun, 8 Nov 2015 05:16:07 +0200 Subject: [PATCH] Merge with develop --- code/nel/src/gui/view_text.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/code/nel/src/gui/view_text.cpp b/code/nel/src/gui/view_text.cpp index 0e3b420a0..1ccd0ec71 100644 --- a/code/nel/src/gui/view_text.cpp +++ b/code/nel/src/gui/view_text.cpp @@ -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(); }