mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
* CComponentsPicture: initVarPicture() not execute if pic_name is blank
This commit is contained in:
@@ -105,6 +105,9 @@ void CComponentsPicture::initVarPicture()
|
|||||||
pic_painted = false;
|
pic_painted = false;
|
||||||
do_paint = false;
|
do_paint = false;
|
||||||
|
|
||||||
|
if (pic_name == "")
|
||||||
|
return;
|
||||||
|
|
||||||
if (pic_max_w == 0)
|
if (pic_max_w == 0)
|
||||||
pic_max_w = width-2*fr_thickness;
|
pic_max_w = width-2*fr_thickness;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user