remove incorrect 'add source' entries
authorronie <ronie@poedel.net>
Mon, 18 Feb 2013 22:04:40 +0000 (23:04 +0100)
committerronie <ronie@poedel.net>
Mon, 18 Feb 2013 22:04:40 +0000 (23:04 +0100)
xbmc/windows/GUIMediaWindow.cpp

index 92e9927..2338f08 100644 (file)
@@ -848,7 +848,7 @@ bool CGUIMediaWindow::Update(const CStdString &strDirectory, bool updateFilterPa
       showLabel = 997;
     else if (iWindow == WINDOW_MUSIC_FILES)
       showLabel = 998;
-    else // WINDOW_FILES
+    else if (iWindow == WINDOW_FILES || iWindow == WINDOW_PROGRAMS)
       showLabel = 1026;
   }
   if (strDirectory.Equals("sources://video/"))