summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan FitiƩ <jfitie@gmail.com>2017-05-31 18:43:52 +0200
committerGitHub <noreply@github.com>2017-05-31 18:43:52 +0200
commitce6c0d8f904da7242d5f9ca708f1eca2b7f9b35e (patch)
treebc0b9a7c7485a29d852b005bb605016147e5326c
parent524aa23bc7aed3f7a31f5d45b16c1325c5594da0 (diff)
downloadnavit-AddZoomToRoute.tar.gz
Add conditionAddZoomToRoute
-rw-r--r--navit/navit_shipped.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/navit_shipped.xml b/navit/navit_shipped.xml
index 2573f396b..46abd16da 100644
--- a/navit/navit_shipped.xml
+++ b/navit/navit_shipped.xml
@@ -97,7 +97,7 @@ Navigation</text></img>
<img src='gui_tools' onclick='network_info()'><text>Network info</text></img>
</a>
<a name='Route'><text>Route</text>
- <img src='gui_zoom_route' onclick='navit.zoom_to_route();redraw_map();back_to_map()'><text>Zoom to route</text></img>
+ <img cond='navit.route.route_status&amp;1' src='gui_zoom_route' onclick='navit.zoom_to_route();redraw_map();back_to_map()'><text>Zoom to route</text></img>
<img src='gui_actions' onclick='route_description()'><text>Description</text></img>
<img src='gui_heightprofile' onclick='route_height_profile()'><text>Height Profile</text></img>
<img cond='navit.waypoints_flag &amp;&amp; (navit.route.route_status&amp;1)' src='cursor_still' onclick='waypoints()'><text>Waypoints</text></img>