diff options
author | Bananeweizen <Bananeweizen@gmx.de> | 2012-05-07 23:39:22 +0200 |
---|---|---|
committer | Bananeweizen <Bananeweizen@gmx.de> | 2012-05-07 23:39:22 +0200 |
commit | 323ebe30c12e8f6f6c22ba132832befbb81e24c0 (patch) | |
tree | 0d39a4127a3d5deac62613a26536a6028d415720 /main/src/cgeo/geocaching/apps/cache | |
parent | a63b830a85f2d0ef3c0184e95218560874a36fe5 (diff) | |
download | cgeo-323ebe30c12e8f6f6c22ba132832befbb81e24c0.zip cgeo-323ebe30c12e8f6f6c22ba132832befbb81e24c0.tar.gz cgeo-323ebe30c12e8f6f6c22ba132832befbb81e24c0.tar.bz2 |
fix #1516: Navigate from "Any destination" not working
Diffstat (limited to 'main/src/cgeo/geocaching/apps/cache')
-rw-r--r-- | main/src/cgeo/geocaching/apps/cache/navi/NavigationAppFactory.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/apps/cache/navi/NavigationAppFactory.java b/main/src/cgeo/geocaching/apps/cache/navi/NavigationAppFactory.java index 50520ac..666c443 100644 --- a/main/src/cgeo/geocaching/apps/cache/navi/NavigationAppFactory.java +++ b/main/src/cgeo/geocaching/apps/cache/navi/NavigationAppFactory.java @@ -119,7 +119,7 @@ public final class NavigationAppFactory extends AbstractAppFactory { for (NavigationAppsEnum navApp : getInstalledNavigationApps()) { if ((showInternalMap || !(navApp.app instanceof InternalMap)) && (showDefaultNavigation || defaultNavigationTool != navApp.id)) { - if ((cache != null && navApp.app.isEnabled(cache)) || (waypoint != null && navApp.app.isEnabled(waypoint))) { + if ((cache != null && navApp.app.isEnabled(cache)) || (waypoint != null && navApp.app.isEnabled(waypoint)) || destination != null) { items.add(navApp); } } |