xbmc/xbmc — pull request #2007 by jmarshallnz (2012-12-30 07:45:22+00:00)
Title: Show '..' items as we're supposed to in empty lists

The code that added the '..' item when lists were empty was not kicking in for filtered lists, as we were adding it before filtering only if the list was empty.

Moving it afterwards means it works as intended.

This has the side-effect of removing an unneeded toast dialog that could annoy users, as well as automatically changing the directory back up a folder on empty lists when that may not have been what the user was wanting.

Fixes the issues on trac at #13662 and #13837.