media library: fix two columns view if library is empty

master
Andrzej Rybczak 16 years ago
parent d6066a5989
commit fbc9b29032
  1. 2
      src/media_library.cpp

@ -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;

Loading…
Cancel
Save