diff options
author | Scott Jackson <daneren2005@gmail.com> | 2013-05-09 21:37:22 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2013-05-09 21:37:22 -0700 |
commit | e3e47ef3422a0fbd4c4e19837e13e881ecfe01ad (patch) | |
tree | 507694aec228e79516ce72ac54902c26b921dfea /subsonic-android | |
parent | 4bc80103be097c22f360447756658267eb2943c0 (diff) | |
download | dsub-e3e47ef3422a0fbd4c4e19837e13e881ecfe01ad.tar.gz dsub-e3e47ef3422a0fbd4c4e19837e13e881ecfe01ad.tar.bz2 dsub-e3e47ef3422a0fbd4c4e19837e13e881ecfe01ad.zip |
Fix options menu disappearing after orientation change
Diffstat (limited to 'subsonic-android')
-rw-r--r-- | subsonic-android/src/github/daneren2005/dsub/activity/SubsonicActivity.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/activity/SubsonicActivity.java b/subsonic-android/src/github/daneren2005/dsub/activity/SubsonicActivity.java index ac2acca7..4e116266 100644 --- a/subsonic-android/src/github/daneren2005/dsub/activity/SubsonicActivity.java +++ b/subsonic-android/src/github/daneren2005/dsub/activity/SubsonicActivity.java @@ -105,6 +105,7 @@ public class SubsonicActivity extends SherlockFragmentActivity { currentFragment = (SubsonicFragment)fm.findFragmentById(ids[0]);
currentFragmentId = ids[0];
currentFragment.setPrimaryFragment(true);
+ invalidateOptionsMenu();
for(int i = 1; i < size; i++) {
backStack.add((SubsonicFragment)fm.findFragmentById(ids[i]));
backStackId.add(ids[i]);
|