aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/github/daneren2005/dsub/activity/SubsonicActivity.java4
-rw-r--r--src/github/daneren2005/dsub/fragments/SelectArtistFragment.java2
-rw-r--r--src/github/daneren2005/dsub/fragments/SubsonicFragment.java2
3 files changed, 6 insertions, 2 deletions
diff --git a/src/github/daneren2005/dsub/activity/SubsonicActivity.java b/src/github/daneren2005/dsub/activity/SubsonicActivity.java
index b164e93e..83baeb6a 100644
--- a/src/github/daneren2005/dsub/activity/SubsonicActivity.java
+++ b/src/github/daneren2005/dsub/activity/SubsonicActivity.java
@@ -574,6 +574,10 @@ public class SubsonicActivity extends ActionBarActivity implements OnItemSelecte
public void invalidate() {
if(currentFragment != null) {
+ while(backStack.size() > 0) {
+ removeCurrent();
+ }
+
currentFragment.invalidate();
populateDrawer();
}
diff --git a/src/github/daneren2005/dsub/fragments/SelectArtistFragment.java b/src/github/daneren2005/dsub/fragments/SelectArtistFragment.java
index 7cca8d6c..5e2548e1 100644
--- a/src/github/daneren2005/dsub/fragments/SelectArtistFragment.java
+++ b/src/github/daneren2005/dsub/fragments/SelectArtistFragment.java
@@ -148,7 +148,7 @@ public class SelectArtistFragment extends SubsonicFragment implements AdapterVie
: selectedFolder.getName();
Util.setSelectedMusicFolderId(context, musicFolderId);
folderName.setText(musicFolderName);
- refresh();
+ context.invalidate();
}
return true;
diff --git a/src/github/daneren2005/dsub/fragments/SubsonicFragment.java b/src/github/daneren2005/dsub/fragments/SubsonicFragment.java
index 5965db0b..d33c1b96 100644
--- a/src/github/daneren2005/dsub/fragments/SubsonicFragment.java
+++ b/src/github/daneren2005/dsub/fragments/SubsonicFragment.java
@@ -332,7 +332,7 @@ public class SubsonicFragment extends Fragment {
public void invalidate() {
if(primaryFragment) {
- refresh(false);
+ refresh(true);
} else {
invalidated = true;
}