Experimental try to rework isPainted()

Origin commit data
------------------
Commit: 9d3a968506
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-19 (Thu, 19 Jan 2017)
This commit is contained in:
2017-01-19 09:15:49 +01:00
committed by Michael Liebmann
parent 5db78a6284
commit 858fdd6320
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();