CComponentsItem: reset paint mode after cleanup

This commit is contained in:
2016-01-24 16:16:49 +01:00
committed by M. Liebmann
parent 12c3a15c10
commit 107c3234b2

View File

@@ -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!
void CComponentsItem::paintInit(bool do_save_bg)
{
if (hasChanges())
if (hasChanges()){
clearFbData();
is_painted = false; //force repaint if required
}
if (v_fbdata.empty()){
int th = fr_thickness;