Experimental try to rework isPainted()

This commit is contained in:
2017-01-19 09:15:49 +01:00
committed by M. Liebmann
parent 2f24e98252
commit 26eb4d079b
6 changed files with 29 additions and 8 deletions

View File

@@ -335,7 +335,8 @@ void CComponentsForm::exchangeCCItem(CComponentsItem* item_a, CComponentsItem* i
void CComponentsForm::paintForm(bool do_save_bg)
{
//paint body
paintInit(do_save_bg);
if (!is_painted)
paintInit(do_save_bg);
//paint
paintCCItems();