* CComponentsPicture: initVarPicture() not execute if pic_name is blank

This commit is contained in:
Michael Liebmann
2013-04-04 17:06:07 +02:00
parent 095c0e1b04
commit bd47ef2060

View File

@@ -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;