rbutil caches no the preview images of the themes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13894 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8235efbf1a
commit
5309d73628
1 changed files with 6 additions and 3 deletions
|
@ -263,10 +263,13 @@ void ThemeCtrl::ThemePreview()
|
|||
dest = gv->stdpaths->GetUserDataDir() + wxT("" PATH_SEP "download" PATH_SEP)
|
||||
+ m_currentResolution + wxT("" PATH_SEP) + filename;
|
||||
|
||||
if(DownloadURL(src, dest))
|
||||
if(!wxFileExists(dest))
|
||||
{
|
||||
MESG_DIALOG(wxT("Unable to download image."));
|
||||
return;
|
||||
if(DownloadURL(src, dest))
|
||||
{
|
||||
MESG_DIALOG(wxT("Unable to download image."));
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
m_currentimage = dest;
|
||||
|
|
Loading…
Reference in a new issue