diff --git a/src/playlist_editor.cpp b/src/playlist_editor.cpp index 8b6c5235..f85e58c6 100644 --- a/src/playlist_editor.cpp +++ b/src/playlist_editor.cpp @@ -118,7 +118,7 @@ void PlaylistEditor::SwitchTo() void PlaylistEditor::Update() { - if (Playlists->Empty()) + if (Playlists->ReallyEmpty()) { Content->Clear(); MPD::TagList list; @@ -133,7 +133,7 @@ void PlaylistEditor::Update() Playlists->Refresh(); } - if (!Playlists->Empty() && Content->Empty()) + if (!Playlists->Empty() && Content->ReallyEmpty()) { Content->Reset(); MPD::SongList list; @@ -161,14 +161,14 @@ void PlaylistEditor::Update() Content->Display(); } - if (w == Content && Content->Empty()) + if (w == Content && Content->ReallyEmpty()) { Content->HighlightColor(Config.main_highlight_color); Playlists->HighlightColor(Config.active_column_color); w = Playlists; } - if (Content->Empty()) + if (Content->ReallyEmpty()) { *Content << XY(0, 0) << "Playlist is empty."; Content->Window::Refresh();