Merge pull request #1849 from TomHennen/fix1848

fixes AntennaPod/AntennaPod#1848
This commit is contained in:
Tom Hennen 2016-04-02 15:46:45 -04:00
commit d22f2fc184
1 changed files with 5 additions and 0 deletions

View File

@ -54,6 +54,11 @@ public class SubscriptionFragment extends Fragment {
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setRetainInstance(true);
// So, we certainly *don't* have an options menu,
// but unless we say we do, old options menus sometimes
// persist. mfietz thinks this causes the ActionBar to be invalidated
setHasOptionsMenu(true);
}
@Override