Skip to content

Commit

Permalink
changed: don't add parent folder items to folder set as root level of…
Browse files Browse the repository at this point in the history
… media windows
  • Loading branch information
spiff committed Oct 11, 2011
1 parent bc8147e commit 7149274
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/windows/GUIMediaWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ bool CGUIMediaWindow::GetDirectory(const CStdString &strDirectory, CFileItemList
m_history.RemoveParentPath();
}

if (m_guiState.get() && !m_guiState->HideParentDirItems() && !items.GetPath().IsEmpty())
if (m_guiState.get() && !m_guiState->HideParentDirItems() && items.GetPath() != m_startDirectory)
{
CFileItemPtr pItem(new CFileItem(".."));
pItem->SetPath(strParentPath);
Expand Down

0 comments on commit 7149274

Please sign in to comment.