Experimental try to rework isPainted()

Origin commit data
------------------
Commit: 26eb4d079b
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 ef6f65cbfb
commit 2748077074
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();