Skip to content

Commit

Permalink
fixed: do not show "play" in add videos context menu
Browse files Browse the repository at this point in the history
  • Loading branch information
mkortstiege committed Apr 21, 2012
1 parent 30e9ff2 commit a213d76
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xbmc/video/windows/GUIWindowVideoBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1105,7 +1105,8 @@ void CGUIWindowVideoBase::GetContextButtons(int itemNumber, CContextButtons &but
if (item->IsVideoDb() && item->HasVideoInfoTag())
path = item->GetVideoInfoTag()->m_strFileNameAndPath;

if (!item->IsPlugin() && !item->IsScript() && !item->IsAddonsPath() && !item->IsLiveTV())
if (!item->GetPath().Equals("add") && !item->IsPlugin() &&
!item->IsScript() && !item->IsAddonsPath() && !item->IsLiveTV())
{
if (URIUtils::IsStack(path))
{
Expand Down

0 comments on commit a213d76

Please sign in to comment.