Remove disabling repeat and shuffle buttons

It's more confusing than helpful
This commit is contained in:
Jonas Kvinge
2020-11-20 21:48:10 +01:00
parent 47754951f0
commit 91e5cafe76
5 changed files with 10 additions and 20 deletions

View File

@@ -118,7 +118,9 @@ void PlaylistManager::PlaylistLoaded() {
if (!playlist) return;
disconnect(playlist, SIGNAL(PlaylistLoaded()), this, SLOT(PlaylistLoaded()));
--playlists_loading_;
if (playlists_loading_ == 0) emit AllPlaylistsLoaded();
if (playlists_loading_ == 0) {
emit AllPlaylistsLoaded();
}
}
@@ -396,7 +398,7 @@ void PlaylistManager::SetActivePlaylist(const int id) {
emit ActiveChanged(active());
sequence_->SetUsingDynamicPlaylist(active()->is_dynamic());
sequence_->set_dynamic(active()->is_dynamic());
}