CComponentsForm: use current bg save mode while paint items

Mode was always false but current mode could be required in
many constellations.


Origin commit data
------------------
Commit: e7d60f7c08
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-05-01 (Mon, 01 May 2017)
This commit is contained in:
2017-05-01 15:01:32 +02:00
parent c0528433c2
commit 2c43a84e12

View File

@@ -518,7 +518,7 @@ void CComponentsForm::paintCCItems()
//finally paint current item, but only required contents of page
if (cc_item->getPageNumber() == cur_page)
cc_item->paint(CC_SAVE_SCREEN_NO);
cc_item->paint(cc_item->SaveBg());
//restore defined old visibility mode of item after paint
cc_item->allowPaint(item_visible);