popup_error(_window, _("Problem updating POI"));
} else {
map_poi_cache_clear();
- map_render_data();
+ map_force_redraw();
}
} else {
/* add poi */
if (poi_add(poi)==FALSE) {
popup_error(_window, _("Problem adding POI"));
} else {
- map_render_data();
+ map_poi_cache_clear();
+ map_force_redraw();
}
}
break;
popup_error(_window, _("Problem adding POI"));
} else {
map_poi_cache_clear();
- map_render_data();
+ map_force_redraw();
gtk_widget_destroy(qp.dialog);
}