helpers: fix UpdateSongList

This commit is contained in:
Andrzej Rybczak
2012-09-03 15:48:13 +02:00
parent 226fbdd2c9
commit eb40b7ef91

View File

@@ -285,7 +285,7 @@ std::string Timestamp(time_t t)
void UpdateSongList(NC::Menu<MPD::Song> *menu)
{
for (auto it = menu->begin(); it != menu->end(); ++it)
it->setSelected(myPlaylist->checkForSong(it->value()));
it->setBold(myPlaylist->checkForSong(it->value()));
menu->refresh();
}