Fixed: Image with tooltip did not expire.
--HG-- branch : develop
This commit is contained in:
parent
b98bd57659
commit
e8c5960882
1 changed files with 3 additions and 5 deletions
|
@ -4657,7 +4657,6 @@ namespace NLGUI
|
|||
if(!CFile::fileExists(normal))
|
||||
{
|
||||
normal = "web_del.tga";
|
||||
addImageDownload(normalBitmap, ctrlButton, style);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -4674,6 +4673,8 @@ namespace NLGUI
|
|||
normal = "web_del.tga";
|
||||
}
|
||||
}
|
||||
|
||||
addImageDownload(normalBitmap, ctrlButton, style);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -4698,12 +4699,9 @@ namespace NLGUI
|
|||
if (overBitmap != normalBitmap)
|
||||
{
|
||||
over = localImageName(overBitmap);
|
||||
if (!CFile::fileExists(over))
|
||||
{
|
||||
addImageDownload(overBitmap, ctrlButton, style, TImageType::OverImage);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ctrlButton->setType (type);
|
||||
if (!normal.empty())
|
||||
|
|
Loading…
Reference in a new issue