aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/src/cgeo/geocaching/cgeocaches.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/cgeocaches.java b/main/src/cgeo/geocaching/cgeocaches.java
index 791cb09..599f480 100644
--- a/main/src/cgeo/geocaching/cgeocaches.java
+++ b/main/src/cgeo/geocaching/cgeocaches.java
@@ -2634,6 +2634,9 @@ public class cgeocaches extends AbstractListActivity {
else if (type == CacheListType.HISTORY) {
adapter.setComparator(new VisitComparator());
}
+ else if (adapter.getCacheComparator() != null && adapter.getCacheComparator() instanceof DateComparator) {
+ adapter.setComparator(null);
+ }
}
}