cc_item_text.cpp: fix missing pass through of var cc_allow_paint

In case of cc_allow_paint = false, text would be farther rendered
and this is not intended.
This commit is contained in:
2018-10-26 22:23:56 +02:00
parent 56457e46cf
commit 243bfb9cb4

View File

@@ -183,6 +183,7 @@ void CComponentsText::initCCText()
#endif
//send text to CTextBox object, but force text paint text if force_text_paint option is enabled
//this is managed by CTextBox object itself
if (cc_allow_paint)
ct_text_sent = ct_textbox->setText(&ct_text, ct_box.iWidth, force_text_paint);
//set current text status, needed by textChanged()