mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
cc_item_text.cpp: add missing paint state after rendered text box
Evaluations while usage of this state could has been wrong or incomplete and therefore it was possible that some effects were unintended or without any effect.
This commit is contained in:
@@ -284,12 +284,16 @@ void CComponentsText::paintText(bool do_save_bg)
|
||||
//init slot to handle repaint of text if background was repainted
|
||||
cc_parent->OnAfterPaintBg.connect(sigc::bind(sigc::mem_fun(*this, &CComponentsText::forceTextPaint), true));
|
||||
}
|
||||
|
||||
initCCText();
|
||||
|
||||
if (!is_painted)
|
||||
paintInit(do_save_bg);
|
||||
|
||||
if (ct_text_sent && cc_allow_paint)
|
||||
if (ct_text_sent && cc_allow_paint){
|
||||
ct_textbox->paint();
|
||||
is_painted = true;
|
||||
}
|
||||
|
||||
ct_text_sent = false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user