aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/src/github/daneren2005/dsub/fragments/SearchFragment.java
diff options
context:
space:
mode:
Diffstat (limited to 'subsonic-android/src/github/daneren2005/dsub/fragments/SearchFragment.java')
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/fragments/SearchFragment.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/fragments/SearchFragment.java b/subsonic-android/src/github/daneren2005/dsub/fragments/SearchFragment.java
index 446285d1..e7bbf2ef 100644
--- a/subsonic-android/src/github/daneren2005/dsub/fragments/SearchFragment.java
+++ b/subsonic-android/src/github/daneren2005/dsub/fragments/SearchFragment.java
@@ -291,7 +291,7 @@ public class SearchFragment extends SubsonicFragment {
parentFragment.setArguments(args);
replaceFragment(parentFragment, R.id.search_layout);
- id = R.id.select_album_layout;
+ id = parentFragment.getRootId();
}
SubsonicFragment fragment = new SelectDirectoryFragment();