mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 23:13:00 +02:00
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:
@@ -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());
|
||||
|
Reference in New Issue
Block a user