aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/cgeocaches.java
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/cgeo/geocaching/cgeocaches.java')
-rw-r--r--main/src/cgeo/geocaching/cgeocaches.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/cgeocaches.java b/main/src/cgeo/geocaching/cgeocaches.java
index b6324f0..120bc59 100644
--- a/main/src/cgeo/geocaching/cgeocaches.java
+++ b/main/src/cgeo/geocaching/cgeocaches.java
@@ -454,12 +454,14 @@ public class cgeocaches extends AbstractListActivity {
if (msg.what > -1) {
cacheList.get(msg.what).setStatusChecked(false);
+ waitDialog.setProgress(detailProgress);
} else {
if (adapter != null) {
adapter.setSelectMode(false, true);
}
- // TODO: Reload cacheList
+ // reload history list
+ (new LoadByHistoryThread(loadCachesHandler)).start();
if (waitDialog != null) {
waitDialog.dismiss();
@@ -2172,6 +2174,7 @@ public class cgeocaches extends AbstractListActivity {
app.clearVisitDate(cache.getGeocode());
+ detailProgress++;
handler.sendEmptyMessage(cacheList.indexOf(cache));
yield();