fix artifacts if no logo found

Origin commit data
------------------
Commit: 626d404e95
Author: TangoCash <eric@loxat.de>
Date: 2021-11-20 (Sat, 20 Nov 2021)
This commit is contained in:
TangoCash
2021-11-20 18:42:49 +01:00
committed by vanhofen
parent aa91dbab6e
commit a2fccfda81

View File

@@ -387,6 +387,8 @@ void CComponentsHeader::initLogo()
cch_logo_obj->setXPos(x_logo);
cch_logo_obj->setYPos(height/2 - cch_logo_obj->getHeight()/2);
}
else
cch_logo_obj->clearFbData();
}
void CComponentsHeader::addContextButton(const std::string& button_name)