aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2014-01-12 13:12:16 +0100
committerBananeweizen <bananeweizen@gmx.de>2014-01-12 13:12:16 +0100
commitd6acd75d48e3be99c3b96eda9eb89971289d09b3 (patch)
tree2ca38c3004d328cead38e863334025eb322b23f8 /main/src/cgeo
parent94035cd52e9ba07a8600200650ddda3c70cd0401 (diff)
downloadcgeo-d6acd75d48e3be99c3b96eda9eb89971289d09b3.zip
cgeo-d6acd75d48e3be99c3b96eda9eb89971289d09b3.tar.gz
cgeo-d6acd75d48e3be99c3b96eda9eb89971289d09b3.tar.bz2
show toast if shortcut list does not exist anymore
Diffstat (limited to 'main/src/cgeo')
-rw-r--r--main/src/cgeo/geocaching/CacheListActivity.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/CacheListActivity.java b/main/src/cgeo/geocaching/CacheListActivity.java
index 3d62e7e..538982a 100644
--- a/main/src/cgeo/geocaching/CacheListActivity.java
+++ b/main/src/cgeo/geocaching/CacheListActivity.java
@@ -1582,6 +1582,9 @@ public class CacheListActivity extends AbstractListActivity implements FilteredA
} else {
final StoredList list = DataStore.getList(listId);
// list.id may be different if listId was not valid
+ if (list.id != listId) {
+ showToast(getString(R.string.list_not_available));
+ }
listId = list.id;
title = list.title;
}