]> git.street.me.uk Git - andy/viking.git/blobdiff - src/vikmapslayer.c
Map data license does not need to be shown every time for the default map.
[andy/viking.git] / src / vikmapslayer.c
index 5fd761a0d372187974e6688751dd46af3f3bb660..42b60cc9c2b226a9176c7a037a618f6b00832a6f 100644 (file)
@@ -516,6 +516,11 @@ static guint map_uniq_id_to_index ( guint uniq_id )
   return NUM_MAP_TYPES; /* no such thing */
 }
 
+void vik_maps_layer_pretend_licence_shown ( VikMapsLayer *vml )
+{
+  vml->license_notice_shown = TRUE;
+}
+
 static gboolean maps_layer_set_param ( VikMapsLayer *vml, guint16 id, VikLayerParamData data, VikViewport *vvp, gboolean is_file_operation )
 {
   // When loading from a file don't need the license reminder