mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +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;
|
||||
initCCItem();
|
||||
|
||||
if (pic_name.empty())
|
||||
if (pic_name.empty()){
|
||||
clearCache();
|
||||
return;
|
||||
}
|
||||
|
||||
if (cc_allow_paint){
|
||||
dprintf(DEBUG_INFO, "[CComponentsPicture] %s: paint image file: pic_name=%s\n", __func__, pic_name.c_str());
|
||||
|
Reference in New Issue
Block a user