CComponentsForm: use current bg save mode while paint items

Mode was always false but current mode could be required in
many constellations.
This commit is contained in:
2017-05-01 15:01:32 +02:00
parent 5ac5db718d
commit e7d60f7c08

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);