mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
cc_frm.cpp: add missing call for hide()
Required if we have saved buffer.
This commit is contained in:
@@ -531,6 +531,10 @@ void CComponentsForm::paintCCItems()
|
|||||||
if (!this->cc_allow_paint)
|
if (!this->cc_allow_paint)
|
||||||
cc_item->allowPaint(false);
|
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
|
//finally paint current item, but only required contents of page
|
||||||
if (cc_item->getPageNumber() == cur_page)
|
if (cc_item->getPageNumber() == cur_page)
|
||||||
cc_item->paint(cc_item->SaveBg());
|
cc_item->paint(cc_item->SaveBg());
|
||||||
|
Reference in New Issue
Block a user