cc_frm.cpp: add missing call for hide()

Required if we have saved buffer.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 516116bad5
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-04-11 (Thu, 11 Apr 2019)



------------------
This commit was generated by Migit
This commit is contained in:
2019-04-11 21:07:34 +02:00
committed by vanhofen
parent d4b4247b2b
commit bb875021b3

View File

@@ -531,6 +531,10 @@ void CComponentsForm::paintCCItems()
if (!this->cc_allow_paint)
cc_item->allowPaint(false);
//restore background
if (v_cc_items[i]->isPainted())
v_cc_items[i]->hide();
//finally paint current item, but only required contents of page
if (cc_item->getPageNumber() == cur_page)
cc_item->paint(cc_item->SaveBg());