helpers: fix UpdateSongList
This commit is contained in:
@@ -285,7 +285,7 @@ std::string Timestamp(time_t t)
|
|||||||
void UpdateSongList(NC::Menu<MPD::Song> *menu)
|
void UpdateSongList(NC::Menu<MPD::Song> *menu)
|
||||||
{
|
{
|
||||||
for (auto it = menu->begin(); it != menu->end(); ++it)
|
for (auto it = menu->begin(); it != menu->end(); ++it)
|
||||||
it->setSelected(myPlaylist->checkForSong(it->value()));
|
it->setBold(myPlaylist->checkForSong(it->value()));
|
||||||
menu->refresh();
|
menu->refresh();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user