Permalink
Browse files

Merge pull request #1143 from bossanova808/master

[Fix] For inconsistent 'play from here' context menu behaviour....
  • Loading branch information...
2 parents eb76c09 + 06e389d commit a85cf75013d2f46d87f5da66655c6eeefd85320d @jmarshallnz jmarshallnz committed Jul 11, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 xbmc/video/windows/GUIWindowVideoBase.cpp
View
4 xbmc/video/windows/GUIWindowVideoBase.cpp
@@ -1230,7 +1230,9 @@ void CGUIWindowVideoBase::GetContextButtons(int itemNumber, CContextButtons &but
{
buttons.Add(CONTEXT_BUTTON_RESUME_ITEM, GetResumeString(*(item.get()))); // Resume Video
}
- if (item->HasVideoInfoTag() && !item->m_bIsFolder && m_vecItems->Size() > 1 && itemNumber < m_vecItems->Size()-1)
+ //if the item isn't a folder, is a member of a list rather than a single item
+ //and we're not on the last element of the list, then add the 'play from here' option
+ if (!item->m_bIsFolder && m_vecItems->Size() > 1 && itemNumber < m_vecItems->Size()-1)
{
buttons.Add(CONTEXT_BUTTON_PLAY_AND_QUEUE, 13412);
}

0 comments on commit a85cf75

Please sign in to comment.