aboutsummaryrefslogtreecommitdiff
path: root/guilib
diff options
context:
space:
mode:
authorjmarshallnz <jmarshallnz@svn>2010-11-15 08:30:00 +0000
committerjmarshallnz <jmarshallnz@svn>2010-11-15 08:30:00 +0000
commit52adf108c11c5c656041e8073fdf6275e5a73eac (patch)
tree68370187c1e16d2f6a9de5c1555d6be15272e388 /guilib
parent21119166a257aa1df46746abf70e058ad7b2e819 (diff)
fixed: multiimage controls with <imagepath> contained in Textures.xbt didn't work unless the directory inside media/ also existed.
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@35269 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'guilib')
-rw-r--r--guilib/GUIMultiImage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/guilib/GUIMultiImage.cpp b/guilib/GUIMultiImage.cpp
index 1666a54c17..67aaf1cbdb 100644
--- a/guilib/GUIMultiImage.cpp
+++ b/guilib/GUIMultiImage.cpp
@@ -223,7 +223,7 @@ void CGUIMultiImage::LoadDirectory()
// Load in our images from the directory specified
// m_currentPath is relative (as are all skin paths)
CStdString realPath = g_TextureManager.GetTexturePath(m_currentPath, true);
- if (realPath.IsEmpty())
+ if (realPath.IsEmpty() && m_files.empty())
return;
CUtil::AddSlashAtEnd(realPath);