mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-01-27 02:05:06 +01:00
Do not switch to an empty favorites list.
This commit is contained in:
parent
725e340d41
commit
5bd357c78a
@ -625,8 +625,8 @@ void Page::favPlaylist()
|
||||
if(playlist_->second->size() != 0 && playlist_->first == "favorites") break;
|
||||
}
|
||||
|
||||
// Do not change playlist if favorites does not exist
|
||||
if ( playlist_->first != "favorites" )
|
||||
// Do not change playlist if favorites does not exist or if it's empty
|
||||
if ( playlist_->second->size() == 0 || playlist_->first != "favorites")
|
||||
playlist_ = playlist_store;
|
||||
|
||||
activeMenu_->setItems(playlist_->second);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user