aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrsudev <rasch@munin-soft.de>2015-03-23 06:59:13 +0100
committerrsudev <rasch@munin-soft.de>2015-03-23 07:10:27 +0100
commit95a64948f1c6ea6fda981c86b758797cde29e153 (patch)
tree76650d2e991203c7cc047e91881c5877167873c2
parentf69cdcabc77667a36d7f7be172a58a3da9e34ec8 (diff)
downloadcgeo-95a64948f1c6ea6fda981c86b758797cde29e153.zip
cgeo-95a64948f1c6ea6fda981c86b758797cde29e153.tar.gz
cgeo-95a64948f1c6ea6fda981c86b758797cde29e153.tar.bz2
Fixes #4741, Search result filter
- do not refresh online lists!
-rw-r--r--main/src/cgeo/geocaching/CacheListActivity.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/CacheListActivity.java b/main/src/cgeo/geocaching/CacheListActivity.java
index 96a0ac1..bedb737 100644
--- a/main/src/cgeo/geocaching/CacheListActivity.java
+++ b/main/src/cgeo/geocaching/CacheListActivity.java
@@ -1059,7 +1059,9 @@ public class CacheListActivity extends AbstractListActivity implements FilteredA
setFilter(FilterActivity.getFilterFromPosition(filterIndex[0], filterIndex[1]));
}
- refreshCurrentList();
+ if (type == CacheListType.OFFLINE) {
+ refreshCurrentList();
+ }
}
private String getDisplayName(final Uri uri) {