mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
CComponentsItem: reset paint mode after cleanup
This commit is contained in:
@@ -65,8 +65,10 @@ void CComponentsItem::initParent(CComponentsForm* parent)
|
|||||||
// If backround is not required, it's possible to override this with variable paint_bg=false, use doPaintBg(true/false) to set this!
|
// If backround is not required, it's possible to override this with variable paint_bg=false, use doPaintBg(true/false) to set this!
|
||||||
void CComponentsItem::paintInit(bool do_save_bg)
|
void CComponentsItem::paintInit(bool do_save_bg)
|
||||||
{
|
{
|
||||||
if (hasChanges())
|
if (hasChanges()){
|
||||||
clearFbData();
|
clearFbData();
|
||||||
|
is_painted = false; //force repaint if required
|
||||||
|
}
|
||||||
|
|
||||||
if (v_fbdata.empty()){
|
if (v_fbdata.empty()){
|
||||||
int th = fr_thickness;
|
int th = fr_thickness;
|
||||||
|
Reference in New Issue
Block a user