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