Skip to content
Browse files

Fix for annoying non-backup with empty dir message

  • Loading branch information...
1 parent 28cfd20 commit fcd68fd3e9092b3392c29136f00f9eddbe64c7de @elan elan committed
Showing with 4 additions and 1 deletion.
  1. +4 −1 xbmc/GUIMediaWindow.cpp
View
5 xbmc/GUIMediaWindow.cpp
@@ -558,8 +558,11 @@ bool CGUIMediaWindow::Update(const CStdString &strDirectory)
// Get the new directory.
CFileItemList newItems;
- if (!GetDirectory(strDirectory, newItems))
+ if (!GetDirectory(strDirectory, newItems) || (newItems.m_displayMessage && newItems.Size() == 0))
{
+ if (newItems.m_displayMessage)
+ CGUIDialogOK::ShowAndGetInput(newItems.m_displayMessageTitle, newItems.m_displayMessageContents, "", "");
+
if (newItems.m_wasListingCancelled == true)
{
// Fast path.

0 comments on commit fcd68fd

Please sign in to comment.
Something went wrong with that request. Please try again.