CComponentsHeader: remove double text color assignment

This commit is contained in:
2017-05-10 10:42:08 +02:00
parent 107db09299
commit c320dbf8ec

View File

@@ -588,7 +588,6 @@ void CComponentsHeader::initCaption()
cch_text_obj->setColorBody(col_body);
if (cc_body_gradient_enable != cc_body_gradient_enable_old)
cch_text_obj->getCTextBoxObject()->clearScreenBuffer();
cch_text_obj->setTextColor(cch_col_text);
cch_text_obj->setText(cch_text, cch_caption_align, cch_font, cch_col_text);
cch_text_obj->enableTboxSaveScreen(cc_body_gradient_enable || cc_txt_save_screen);