CImageInfo: prevent possible overpainting while switching of sub text caption

This commit is contained in:
2017-01-23 22:52:00 +01:00
committed by M. Liebmann
parent 0de9490326
commit 5d1bcbd33f

View File

@@ -169,7 +169,8 @@ int CImageInfo::exec(CMenuTarget* parent, const std::string &)
btn_red->setCaption(new_btn_cap); btn_red->setCaption(new_btn_cap);
//paint items //paint items
cc_sub_caption->paint(false); cc_sub_caption->hide();
cc_sub_caption->paint();
cc_lic->paint(false); cc_lic->paint(false);
btn_red->kill(); btn_red->kill();
btn_red->paint(false); btn_red->paint(false);