Skip to content

Commit

Permalink
Merge pull request #5756 from MartijnKaijser/brokenaddons
Browse files Browse the repository at this point in the history
  • Loading branch information
jenkins4kodi committed Nov 19, 2014
2 parents 2f74a54 + eaa7623 commit 6502715
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addons/skin.re-touched
Submodule skin.re-touched updated 2 files
+6 −5 16x9/AddonBrowser.xml
+6 −5 4x3Hirez/AddonBrowser.xml
6 changes: 5 additions & 1 deletion xbmc/addons/GUIWindowAddonBrowser.cpp
Expand Up @@ -392,7 +392,11 @@ bool CGUIWindowAddonBrowser::GetDirectory(const std::string& strDirectory,
for (int i = items.Size() - 1; i >= 0; i--)
{
if (!items[i]->GetProperty("Addon.Broken").empty())
items.Remove(i);
{ //check if it's installed
AddonPtr addon;
if (!CAddonMgr::Get().GetAddon(items[i]->GetProperty("Addon.ID").asString(), addon))
items.Remove(i);
}
}
}
}
Expand Down

0 comments on commit 6502715

Please sign in to comment.