]> git.street.me.uk Git - andy/viking.git/blobdiff - src/viktrwlayer.c
Fix routes display in different coordinate views.
[andy/viking.git] / src / viktrwlayer.c
index 38dc710b267ce36fb950fc45e6f5cf251915d536..25ce829c9297965def6ef7676c7414a83a7855d5 100644 (file)
@@ -8276,6 +8276,7 @@ static void trw_layer_change_coord_mode ( VikTrwLayer *vtl, VikCoordMode dest_mo
     vtl->coord_mode = dest_mode;
     g_hash_table_foreach ( vtl->waypoints, (GHFunc) waypoint_convert, &dest_mode );
     g_hash_table_foreach ( vtl->tracks, (GHFunc) track_convert, &dest_mode );
+    g_hash_table_foreach ( vtl->routes, (GHFunc) track_convert, &dest_mode );
   }
 }