if playlist is empty, clear its window
This commit is contained in:
@@ -253,6 +253,7 @@ void NcmpcppStatusChanged(Connection *, StatusChanges changed, void *)
|
|||||||
if (myPlaylist->Items->Empty())
|
if (myPlaylist->Items->Empty())
|
||||||
{
|
{
|
||||||
myPlaylist->Items->Reset();
|
myPlaylist->Items->Reset();
|
||||||
|
myPlaylist->Items->Window::Clear(0);
|
||||||
ShowMessage("Cleared playlist!");
|
ShowMessage("Cleared playlist!");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user