diff options
author | Bananeweizen <bananeweizen@gmx.de> | 2011-12-18 22:19:38 +0100 |
---|---|---|
committer | Bananeweizen <bananeweizen@gmx.de> | 2011-12-18 22:19:38 +0100 |
commit | eac366bad9af1e2ec3b014f953837e2d067c237e (patch) | |
tree | a368adef8f7060284a996e422c1b1ff44aae4d0b /main/src/cgeo/geocaching/cgeo.java | |
parent | 439bcd63ead65c48ead621a209b37017a3cf2858 (diff) | |
download | cgeo-eac366bad9af1e2ec3b014f953837e2d067c237e.zip cgeo-eac366bad9af1e2ec3b014f953837e2d067c237e.tar.gz cgeo-eac366bad9af1e2ec3b014f953837e2d067c237e.tar.bz2 |
fix #358: have number of caches in list selection
Diffstat (limited to 'main/src/cgeo/geocaching/cgeo.java')
-rw-r--r-- | main/src/cgeo/geocaching/cgeo.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/main/src/cgeo/geocaching/cgeo.java b/main/src/cgeo/geocaching/cgeo.java index 50d7083..6ebb04e 100644 --- a/main/src/cgeo/geocaching/cgeo.java +++ b/main/src/cgeo/geocaching/cgeo.java @@ -327,12 +327,12 @@ public class cgeo extends AbstractActivity { // context menu for offline button if (v.getId() == R.id.search_offline) { - List<cgList> cacheLists = app.getLists(); + List<StoredList> cacheLists = app.getLists(); int listCount = cacheLists.size(); menu.setHeaderTitle(res.getString(R.string.list_title)); for (int i = 0; i < listCount; i++) { - cgList list = cacheLists.get(i); - menu.add(Menu.NONE, MENU_OPEN_LIST + list.id, Menu.NONE, list.title); + StoredList list = cacheLists.get(i); + menu.add(Menu.NONE, MENU_OPEN_LIST + list.id, Menu.NONE, list.getTitleAndCount()); } return; } |