media library: fix two columns view if library is empty

This commit is contained in:
Andrzej Rybczak
2010-02-23 01:27:55 +01:00
parent d6066a5989
commit fbc9b29032

View File

@@ -290,7 +290,7 @@ void MediaLibrary::Update()
w = Artists;
}
if ((hasTwoColumns || !Artists->Empty()) && Songs->Empty())
if (!(hasTwoColumns ? Albums->Empty() : Artists->Empty()) && Songs->Empty())
{
Songs->Reset();
MPD::SongList list;