diff options
author | Samuel Tardieu <sam@rfc1149.net> | 2014-08-12 16:53:30 +0200 |
---|---|---|
committer | Samuel Tardieu <sam@rfc1149.net> | 2014-08-12 16:53:30 +0200 |
commit | cfc87005a874cfa6786fc53269a58783abe6c667 (patch) | |
tree | aafe34e321c22ee86f2f6130a09f3b41f25afd28 /main | |
parent | 979ffab148f37670cd19baf64a6e8838d33ad25a (diff) | |
parent | 6e7ed201b6f8502f48b830aac6f6a7b8ca07e2f7 (diff) | |
download | cgeo-cfc87005a874cfa6786fc53269a58783abe6c667.zip cgeo-cfc87005a874cfa6786fc53269a58783abe6c667.tar.gz cgeo-cfc87005a874cfa6786fc53269a58783abe6c667.tar.bz2 |
Merge branch 'release' into upstream
Diffstat (limited to 'main')
-rw-r--r-- | main/src/cgeo/geocaching/ui/logs/CacheLogsViewCreator.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/ui/logs/CacheLogsViewCreator.java b/main/src/cgeo/geocaching/ui/logs/CacheLogsViewCreator.java index 38a219e..7e49c97 100644 --- a/main/src/cgeo/geocaching/ui/logs/CacheLogsViewCreator.java +++ b/main/src/cgeo/geocaching/ui/logs/CacheLogsViewCreator.java @@ -56,7 +56,7 @@ public class CacheLogsViewCreator extends LogsViewCreator { final List<Entry<LogType, Integer>> sortedLogCounts = new ArrayList<>(logCounts.size()); for (final Entry<LogType, Integer> entry : logCounts.entrySet()) { // it may happen that the label is unknown -> then avoid any output for this type - if (entry.getKey() != LogType.PUBLISH_LISTING && entry.getKey().getL10n() != null) { + if (entry.getKey() != LogType.PUBLISH_LISTING && entry.getKey().getL10n() != null && entry.getValue() != 0) { sortedLogCounts.add(entry); } } |