gui: list settings didn't display indentation properly
authorJoakim Plate <elupus@ecce.se>
Mon, 17 Jun 2013 21:46:45 +0000 (23:46 +0200)
committerJoakim Plate <elupus@ecce.se>
Mon, 17 Jun 2013 21:48:46 +0000 (23:48 +0200)
xbmc/settings/windows/GUIWindowSettingsCategory.cpp

index 8318ec6..05e2a1f 100644 (file)
@@ -654,8 +654,8 @@ CGUIControl* CGUIWindowSettingsCategory::AddSetting(CSetting *pSetting, float wi
       pControl = new CGUIButtonControl(*m_pOriginalButton);
       if (pControl == NULL)
         return NULL;
-      
-      ((CGUIButtonControl *)pControl)->SetLabel(g_localizeStrings.Get(pSetting->GetLabel()));
+
+      ((CGUIButtonControl *)pControl)->SetLabel(label);
       pSettingControl.reset(new CGUIControlListSetting((CGUIButtonControl *)pControl, iControlID, pSetting));
       break;
     }