Browse Source

Merge pull request #86 from gfoldv/master

Filter remains selected in the NavigationSpinner after rotation. Fixes #55
pull/90/head
Eric Kok 11 years ago
parent
commit
90665ea6ff
  1. 2
      core/src/org/transdroid/core/gui/TorrentsActivity.java

2
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
if (currentFilter == null) {
currentFilter = StatusType.getShowAllType(this);
}
getSupportActionBar().setListNavigationCallbacks(navigationSpinnerAdapter, this);
// Log messages from the server daemons using our singleton logger

Loading…
Cancel
Save