improve handling columns in media library a bit
given column should clear only the first column on its right, not all.
This commit is contained in:
@@ -292,10 +292,7 @@ void NcmpcppStatusChanged(Connection *, StatusChanges changed, void *)
|
||||
if (myLibrary->Main())
|
||||
{
|
||||
if (myLibrary->Columns() == 2)
|
||||
{
|
||||
myLibrary->Albums->Clear();
|
||||
myLibrary->Songs->Clear();
|
||||
}
|
||||
else
|
||||
myLibrary->Artists->Clear();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user