Commit 2981073a authored by Antoine Cellerier's avatar Antoine Cellerier

Forward port [15418] and [15420].

parent 2e26f541
......@@ -216,7 +216,10 @@ void CtrlText::setText( const UString &rText, uint32_t color )
void CtrlText::onUpdate( Subject<VarText, void*> &rVariable, void* arg )
{
displayText( m_rVariable.get() );
if( isVisible() )
{
displayText( m_rVariable.get() );
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment