diff options
author | Scott Jackson <daneren2005@gmail.com> | 2015-01-16 12:46:29 -0800 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2015-01-16 12:46:29 -0800 |
commit | 57bf3d8e5c01d5deffa7b65584d5c3132ef2a7c5 (patch) | |
tree | 28ccec4243a5ba0ba1d62bb3c70acec700ea3698 | |
parent | 273ee9958c2581bca283d5b4895395818a5d64b6 (diff) | |
download | dsub-57bf3d8e5c01d5deffa7b65584d5c3132ef2a7c5.tar.gz dsub-57bf3d8e5c01d5deffa7b65584d5c3132ef2a7c5.tar.bz2 dsub-57bf3d8e5c01d5deffa7b65584d5c3132ef2a7c5.zip |
Fix crash on selecting context items with headers
-rw-r--r-- | src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java b/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java index ba884503..78c1a773 100644 --- a/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java +++ b/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java @@ -373,7 +373,7 @@ public class SelectDirectoryFragment extends SubsonicFragment implements Adapter Object selectedItem;
int headers = entryList.getHeaderViewsCount();
if(albumContext) {
- selectedItem = albums.get(info.position);
+ selectedItem = albumList.getItemAtPosition(info.position);
} else {
if(info.position == 0) {
return false;
|