]> git.street.me.uk Git - andy/viking.git/commitdiff
Fix routes display in different coordinate views.
authorRob Norris <rw_norris@hotmail.com>
Wed, 16 Jan 2013 00:37:49 +0000 (00:37 +0000)
committerRob Norris <rw_norris@hotmail.com>
Wed, 16 Jan 2013 00:41:14 +0000 (00:41 +0000)
Missed from the GPX-Routes code addition SHA: 0d2b891f5f4673f0dd1142dcd7e1eb08e4248090

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 );
   }
 }