if (poi_update(poi)==FALSE) {
popup_error(_window, _("Problem updating POI"));
} else {
+ map_poi_cache_clear();
map_render_data();
}
} else {
if (poi_add(p)==FALSE) {
popup_error(_window, _("Problem adding POI"));
} else {
+ map_poi_cache_clear();
map_render_data();
gtk_widget_destroy(qp.dialog);
}
qp.lat=lat;
qp.lon=lon;
-qp.dialog = gtk_dialog_new_with_buttons(_("Quick POI"),
+qp.dialog=gtk_dialog_new_with_buttons(_("Quick POI"),
GTK_WINDOW(_window),
GTK_DIALOG_MODAL,
GTK_STOCK_CANCEL,