aboutsummaryrefslogtreecommitdiffstats
path: root/src/cgeo/geocaching/cgeovisit.java
diff options
context:
space:
mode:
authorSammysHP <sven@sammyshp.de>2011-08-02 10:27:10 +0200
committerSammysHP <sven@sammyshp.de>2011-08-02 10:27:10 +0200
commit818a0ac76122c9d8d55f7518e2a5df73002c410e (patch)
treed0c7f30bdc5c4c5bc85a8b46443b963f1ca07308 /src/cgeo/geocaching/cgeovisit.java
parent6118f6489847f98d2c257671c352082974134b14 (diff)
downloadcgeo-818a0ac76122c9d8d55f7518e2a5df73002c410e.zip
cgeo-818a0ac76122c9d8d55f7518e2a5df73002c410e.tar.gz
cgeo-818a0ac76122c9d8d55f7518e2a5df73002c410e.tar.bz2
Add button for all trackables if there are more than 20 (fixes #56)
Diffstat (limited to 'src/cgeo/geocaching/cgeovisit.java')
-rw-r--r--src/cgeo/geocaching/cgeovisit.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cgeo/geocaching/cgeovisit.java b/src/cgeo/geocaching/cgeovisit.java
index 54e7b03..61d23f4 100644
--- a/src/cgeo/geocaching/cgeovisit.java
+++ b/src/cgeo/geocaching/cgeovisit.java
@@ -155,7 +155,7 @@ public class cgeovisit extends cgLogForm {
if (inventoryView.getChildCount() > 0) {
((LinearLayout) findViewById(R.id.inventory_box)).setVisibility(View.VISIBLE);
}
- if (inventoryView.getChildCount() > 1 && inventoryView.getChildCount() <= 20) {
+ if (inventoryView.getChildCount() > 1) {
final LinearLayout inventoryChangeAllView = (LinearLayout) findViewById(R.id.inventory_changeall);
Button changeButton = (Button) inventoryChangeAllView.findViewById(R.id.changebutton);