do not clear playlists content, make idle notifications take care of it
This commit is contained in:
@@ -1062,10 +1062,7 @@ void Add::Run()
|
||||
Statusbar() << "Adding...";
|
||||
wFooter->refresh();
|
||||
if (myScreen == myPlaylistEditor)
|
||||
{
|
||||
Mpd.AddToPlaylist(myPlaylistEditor->Playlists->current().value(), path);
|
||||
myPlaylistEditor->Content->clear(); // make it refetch content of playlist
|
||||
}
|
||||
else
|
||||
{
|
||||
const char lastfm_url[] = "lastfm://";
|
||||
|
||||
@@ -305,8 +305,6 @@ void NcmpcppStatusChanged(MPD::Connection *, MPD::StatusChanges changed, void *)
|
||||
else
|
||||
myLibrary->Tags->clear();
|
||||
}
|
||||
if (myPlaylistEditor->Main())
|
||||
myPlaylistEditor->Content->clear();
|
||||
changed.DBUpdating = 1;
|
||||
}
|
||||
if (changed.PlayerState)
|
||||
|
||||
Reference in New Issue
Block a user