Fixed: Image with tooltip did not expire.

--HG--
branch : develop
hg/compatibility-develop
Nimetu 7 years ago
parent b98bd57659
commit e8c5960882

@ -4657,7 +4657,6 @@ namespace NLGUI
if(!CFile::fileExists(normal)) if(!CFile::fileExists(normal))
{ {
normal = "web_del.tga"; normal = "web_del.tga";
addImageDownload(normalBitmap, ctrlButton, style);
} }
else else
{ {
@ -4674,6 +4673,8 @@ namespace NLGUI
normal = "web_del.tga"; normal = "web_del.tga";
} }
} }
addImageDownload(normalBitmap, ctrlButton, style);
} }
} }
@ -4698,10 +4699,7 @@ namespace NLGUI
if (overBitmap != normalBitmap) if (overBitmap != normalBitmap)
{ {
over = localImageName(overBitmap); over = localImageName(overBitmap);
if (!CFile::fileExists(over)) addImageDownload(overBitmap, ctrlButton, style, TImageType::OverImage);
{
addImageDownload(overBitmap, ctrlButton, style, TImageType::OverImage);
}
} }
} }

Loading…
Cancel
Save