CComponentsText: fix order of paint init

Origin commit data
------------------
Branch: ni/coolstream
Commit: 8bd4633cb4
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-24 (Tue, 24 Jan 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
2017-01-24 23:23:13 +01:00
committed by Michael Liebmann
parent 3ea1ed9459
commit f9d4bb9fba

View File

@@ -273,11 +273,12 @@ bool CComponentsText::setTextFromFile(const string& path_to_textfile, const int
void CComponentsText::paintText(bool do_save_bg)
{
paintInit(do_save_bg);
initCCText();
paintInit(do_save_bg);
if (ct_text_sent && cc_allow_paint)
ct_textbox->paint();
ct_text_sent = false;
}