media library: fix two columns view if library is empty
This commit is contained in:
@@ -290,7 +290,7 @@ void MediaLibrary::Update()
|
|||||||
w = Artists;
|
w = Artists;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((hasTwoColumns || !Artists->Empty()) && Songs->Empty())
|
if (!(hasTwoColumns ? Albums->Empty() : Artists->Empty()) && Songs->Empty())
|
||||||
{
|
{
|
||||||
Songs->Reset();
|
Songs->Reset();
|
||||||
MPD::SongList list;
|
MPD::SongList list;
|
||||||
|
|||||||
Reference in New Issue
Block a user