From ec5c569f35730fa608a1ea83d46e4e60f1985310 Mon Sep 17 00:00:00 2001 From: Samuel Tardieu Date: Sun, 15 Sep 2013 18:05:25 +0200 Subject: fix #3286: move selected caches to a new list not possible The new list needs to be registered as a concrete list so that moving caches into it is allowed. --- main/src/cgeo/geocaching/list/StoredList.java | 1 + 1 file changed, 1 insertion(+) (limited to 'main') diff --git a/main/src/cgeo/geocaching/list/StoredList.java b/main/src/cgeo/geocaching/list/StoredList.java index cd7297c..d3729c0 100644 --- a/main/src/cgeo/geocaching/list/StoredList.java +++ b/main/src/cgeo/geocaching/list/StoredList.java @@ -145,6 +145,7 @@ public final class StoredList extends AbstractList { @Override public void run(final String listName) { final int newId = DataStore.createList(listName); + new StoredList(newId, listName, 0); if (newId >= DataStore.customListIdOffset) { ActivityMixin.showToast(activity, res.getString(R.string.list_dialog_create_ok)); -- cgit v1.1