diff --git a/xbmc/GUIInfoManager.cpp b/xbmc/GUIInfoManager.cpp index cd044d41a87e8..c2b94a303516d 100644 --- a/xbmc/GUIInfoManager.cpp +++ b/xbmc/GUIInfoManager.cpp @@ -2824,11 +2824,15 @@ CStdString CGUIInfoManager::GetMultiInfoLabel(const GUIInfo &info, int contextWi else if (info.m_info == SYSTEM_ADDON_TITLE || info.m_info == SYSTEM_ADDON_ICON) { + // This logic does not check/care whether an addon has been disabled/marked as broken, + // it simply retrieves it's name or icon that means if an addon is placed on the home screen it + // will stay there even if it's disabled/marked as broken. This might need to be changed/fixed + // in the future. AddonPtr addon; if (info.GetData2() == 0) - CAddonMgr::Get().GetAddon(const_cast(this)->GetLabel(info.GetData1(), contextWindow),addon); + CAddonMgr::Get().GetAddon(const_cast(this)->GetLabel(info.GetData1(), contextWindow),addon,ADDON_UNKNOWN,false); else - CAddonMgr::Get().GetAddon(m_stringParameters[info.GetData1()],addon); + CAddonMgr::Get().GetAddon(m_stringParameters[info.GetData1()],addon,ADDON_UNKNOWN,false); if (addon && info.m_info == SYSTEM_ADDON_TITLE) return addon->Name(); if (addon && info.m_info == SYSTEM_ADDON_ICON)