Skip to content

Commit

Permalink
changed: allow adding add-on listing virtual dirs to favorites
Browse files Browse the repository at this point in the history
  • Loading branch information
spiff committed Jan 19, 2012
1 parent 96a2a96 commit a5d884f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/windows/GUIMediaWindow.cpp
Expand Up @@ -1415,7 +1415,7 @@ void CGUIMediaWindow::GetContextButtons(int itemNumber, CContextButtons &buttons

// TODO: FAVOURITES Conditions on masterlock and localisation
if (!item->IsParentFolder() && !item->GetPath().Equals("add") && !item->GetPath().Equals("newplaylist://") &&
!item->GetPath().Left(19).Equals("newsmartplaylist://") && !item->IsAddonsPath())
!item->GetPath().Left(19).Equals("newsmartplaylist://"))
{
if (CFavourites::IsFavourite(item.get(), GetID()))
buttons.Add(CONTEXT_BUTTON_ADD_FAVOURITE, 14077); // Remove Favourite
Expand Down

0 comments on commit a5d884f

Please sign in to comment.