aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--guilib/GUIStaticItem.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/guilib/GUIStaticItem.cpp b/guilib/GUIStaticItem.cpp
index ea6492f385..27066759bf 100644
--- a/guilib/GUIStaticItem.cpp
+++ b/guilib/GUIStaticItem.cpp
@@ -103,9 +103,9 @@ void CGUIStaticItem::UpdateProperties(int contextWindow)
{
if (i->first.Left(5).Equals("info:"))
{
- // prefer images in general
- CStdString info(CGUIInfoLabel::GetLabel(i->second, contextWindow, true));
+ // prefer images if it's not label or label2
CStdString prop(i->first.Mid(5));
+ CStdString info(CGUIInfoLabel::GetLabel(i->second, contextWindow, !prop.Left(5).Equals("label")));
if (prop.Equals("label"))
SetLabel(info);
else if (prop.Equals("label2"))