mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
CComponentsPicture: ensure cache cleanup on missing image while runtime
This commit is contained in:
@@ -256,8 +256,10 @@ void CComponentsPicture::paintPicture()
|
|||||||
y_pic += fr_thickness;
|
y_pic += fr_thickness;
|
||||||
initCCItem();
|
initCCItem();
|
||||||
|
|
||||||
if (pic_name.empty())
|
if (pic_name.empty()){
|
||||||
|
clearCache();
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (cc_allow_paint){
|
if (cc_allow_paint){
|
||||||
dprintf(DEBUG_INFO, "[CComponentsPicture] %s: paint image file: pic_name=%s\n", __func__, pic_name.c_str());
|
dprintf(DEBUG_INFO, "[CComponentsPicture] %s: paint image file: pic_name=%s\n", __func__, pic_name.c_str());
|
||||||
|
Reference in New Issue
Block a user