From d6b422d63993314d6e4f5fc8823e21254512fcee Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Fri, 20 Dec 2013 19:50:30 -0800 Subject: Fix Add to Playlist not defaulting to select all --- src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java b/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java index c112b4c4..cce14c31 100644 --- a/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java +++ b/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java @@ -222,6 +222,9 @@ public class SelectDirectoryFragment extends SubsonicFragment implements Adapter selectAll(false, false); return true; case R.id.menu_add_playlist: + if(getSelectedSongs().isEmpty()) { + selectAll(true, false); + } addToPlaylist(getSelectedSongs()); return true; case R.id.menu_remove_playlist: -- cgit v1.2.3