From 7cff2fe3c0dafc53014aa44c3cf7f032e8af8b93 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 1 Feb 2012 14:29:07 +0300 Subject: [PATCH] do not always mark uncategorized as selected on goBack() --- src/org/fox/ttrss/MainActivity.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/org/fox/ttrss/MainActivity.java b/src/org/fox/ttrss/MainActivity.java index 5bf066b0..22940f78 100644 --- a/src/org/fox/ttrss/MainActivity.java +++ b/src/org/fox/ttrss/MainActivity.java @@ -790,7 +790,8 @@ public class MainActivity extends FragmentActivity implements OnlineServices { .findFragmentById(R.id.cats_fragment); if (cf != null) { - cf.setSelectedCategoryId(0); + // can't use 0 here because Uncategorized might be in the buffer + cf.setSelectedCategoryId(-1000000); } refreshCategories();