aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvdrfan <vdrfan-nospam-@xbmc.org>2011-06-12 01:04:14 +0200
committervdrfan <vdrfan-nospam-@xbmc.org>2011-06-12 01:04:14 +0200
commitc28d6efbf1b455e2b1d8e8a62c61029f8ae64f67 (patch)
treec3caea04c1027bb063dfa87a36fd1bb32f296872
parent25b41bea6d307107c1c042d816e1a73721bfd0ee (diff)
fixed: Ticket #11628 - "Add source" shows a size of "0 B" in file manager
-rw-r--r--xbmc/windows/GUIWindowFileManager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/xbmc/windows/GUIWindowFileManager.cpp b/xbmc/windows/GUIWindowFileManager.cpp
index a058be4a33..555cbfa49c 100644
--- a/xbmc/windows/GUIWindowFileManager.cpp
+++ b/xbmc/windows/GUIWindowFileManager.cpp
@@ -481,6 +481,8 @@ bool CGUIWindowFileManager::Update(int iList, const CStdString &strDirectory)
pItem->SetIconImage("DefaultAddSource.png");
pItem->SetLabel(strLabel);
pItem->SetLabelPreformated(true);
+ pItem->m_bIsFolder = true;
+ pItem->SetSpecialSort(SORT_ON_BOTTOM);
m_vecItems[iList]->Add(pItem);
}
else if (items.IsEmpty() || g_guiSettings.GetBool("filelists.showparentdiritems"))