diff options
author | Scott Jackson <daneren2005@gmail.com> | 2013-12-20 19:50:30 -0800 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2013-12-20 19:50:30 -0800 |
commit | d6b422d63993314d6e4f5fc8823e21254512fcee (patch) | |
tree | c1d153d0185119261de1fcf98451d37d73229679 /src/github | |
parent | 6577fa6071794b4dc92b05c703a02be13d427048 (diff) | |
download | dsub-d6b422d63993314d6e4f5fc8823e21254512fcee.tar.gz dsub-d6b422d63993314d6e4f5fc8823e21254512fcee.tar.bz2 dsub-d6b422d63993314d6e4f5fc8823e21254512fcee.zip |
Fix Add to Playlist not defaulting to select all
Diffstat (limited to 'src/github')
-rw-r--r-- | src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java | 3 |
1 files changed, 3 insertions, 0 deletions
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:
|