diff --git a/src/gui/components/cc_item_text.cpp b/src/gui/components/cc_item_text.cpp index 3c0f97fc1..6037fdda8 100644 --- a/src/gui/components/cc_item_text.cpp +++ b/src/gui/components/cc_item_text.cpp @@ -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; }