fix assertion failure while trying to send play command in commands list

this fixes #3746
This commit is contained in:
Andrzej Rybczak
2013-04-27 19:11:16 +02:00
parent 54a1822db2
commit 7a470cdfbf
3 changed files with 34 additions and 15 deletions

View File

@@ -298,9 +298,15 @@ void Status::Changes::playlist()
if (isVisible(mySearcher))
markSongsInPlaylist(mySearcher->proxySongList());
if (isVisible(myLibrary))
{
markSongsInPlaylist(myLibrary->songsProxyList());
myLibrary->Songs.refresh();
}
if (isVisible(myPlaylistEditor))
{
markSongsInPlaylist(myPlaylistEditor->contentProxyList());
myPlaylistEditor->Content.refresh();
}
}
void Status::Changes::storedPlaylists()