aboutsummaryrefslogtreecommitdiff
path: root/src/github
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2015-01-16 12:46:29 -0800
committerScott Jackson <daneren2005@gmail.com>2015-01-16 12:46:29 -0800
commit57bf3d8e5c01d5deffa7b65584d5c3132ef2a7c5 (patch)
tree28ccec4243a5ba0ba1d62bb3c70acec700ea3698 /src/github
parent273ee9958c2581bca283d5b4895395818a5d64b6 (diff)
downloaddsub-57bf3d8e5c01d5deffa7b65584d5c3132ef2a7c5.tar.gz
dsub-57bf3d8e5c01d5deffa7b65584d5c3132ef2a7c5.tar.bz2
dsub-57bf3d8e5c01d5deffa7b65584d5c3132ef2a7c5.zip
Fix crash on selecting context items with headers
Diffstat (limited to 'src/github')
-rw-r--r--src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java2
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;