aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-10-07 19:55:13 -0700
committerScott Jackson <daneren2005@gmail.com>2014-10-07 19:55:13 -0700
commitb27d4036927e14943054dfac305f6db3046bfa0d (patch)
tree9194b27f67b28a837733a3519bda3e20117231b7 /src
parent04c03ea6dd1686cb34a3d7788a0f75a5a8dc361d (diff)
downloaddsub-b27d4036927e14943054dfac305f6db3046bfa0d.tar.gz
dsub-b27d4036927e14943054dfac305f6db3046bfa0d.tar.bz2
dsub-b27d4036927e14943054dfac305f6db3046bfa0d.zip
Fix recursive options (ie: Play All) after using Show Artist referencing the child id
Diffstat (limited to 'src')
-rw-r--r--src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java b/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java
index 7b1276b9..d441267d 100644
--- a/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java
+++ b/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java
@@ -479,6 +479,10 @@ public class SelectDirectoryFragment extends SubsonicFragment implements Adapter
if(lookupParent && dir.getParent() != null) {
dir = getMusicDirectory(dir.getParent(), name, refresh, service, this);
+
+ // Update the fragment pointers so other stuff works correctly
+ SelectDirectoryFragment.this.id = dir.getId();
+ SelectDirectoryFragment.this.name = dir.getName();
}
return dir;