Browse Source

Filter remains selected in the NavigationSpinner after rotation. Fixes #55

pull/86/head
gfoldv 11 years ago
parent
commit
9d93179655
  1. 4
      core/src/org/transdroid/core/gui/TorrentsActivity.java

4
core/src/org/transdroid/core/gui/TorrentsActivity.java

@ -214,7 +214,9 @@ public class TorrentsActivity extends SherlockFragmentActivity implements OnNavi @@ -214,7 +214,9 @@ public class TorrentsActivity extends SherlockFragmentActivity implements OnNavi
navigationSpinnerAdapter.updateLabels(new ArrayList<Label>());
}
// Now that all items (or at least their adapters) have been added
currentFilter = StatusType.getShowAllType(this);
if (currentFilter == null) {
currentFilter = StatusType.getShowAllType(this);
}
getSupportActionBar().setListNavigationCallbacks(navigationSpinnerAdapter, this);
// Log messages from the server daemons using our singleton logger

Loading…
Cancel
Save