do not always mark uncategorized as selected on goBack()

This commit is contained in:
Andrew Dolgov 2012-02-01 14:29:07 +03:00
parent b28f00765e
commit 7cff2fe3c0

View File

@ -790,7 +790,8 @@ public class MainActivity extends FragmentActivity implements OnlineServices {
.findFragmentById(R.id.cats_fragment); .findFragmentById(R.id.cats_fragment);
if (cf != null) { if (cf != null) {
cf.setSelectedCategoryId(0); // can't use 0 here because Uncategorized might be in the buffer
cf.setSelectedCategoryId(-1000000);
} }
refreshCategories(); refreshCategories();