From 14a3844c57a7ad49526efa984a796430dae81c5f Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Thu, 11 Apr 2019 11:15:02 +0200 Subject: [PATCH] cc_frm.cpp: add missing call for hide() Required if we have saved buffer. --- src/gui/components/cc_frm.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gui/components/cc_frm.cpp b/src/gui/components/cc_frm.cpp index 068d87359..f3c0dbdd5 100644 --- a/src/gui/components/cc_frm.cpp +++ b/src/gui/components/cc_frm.cpp @@ -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());