mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
CComponentsHeader: ensure reset of icon object
This commit is contained in:
@@ -232,8 +232,10 @@ void CComponentsHeader::initIcon()
|
|||||||
//init cch_icon_obj only if an icon available
|
//init cch_icon_obj only if an icon available
|
||||||
if (cch_icon_name.empty()) {
|
if (cch_icon_name.empty()) {
|
||||||
cch_icon_w = 0;
|
cch_icon_w = 0;
|
||||||
if (cch_icon_obj)
|
if (cch_icon_obj){
|
||||||
removeCCItem(cch_icon_obj);
|
removeCCItem(cch_icon_obj);
|
||||||
|
cch_icon_obj = NULL;
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user