From: Kaj-Michael Lang Date: Thu, 10 Jan 2008 16:25:15 +0000 (+0200) Subject: Missed one spot. Use full redraw. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3dc50f059efea0d5db9b8c641b8472651b879c43;p=mapper Missed one spot. Use full redraw. --- diff --git a/src/poi-gui.c b/src/poi-gui.c index 5edcf13..944f370 100644 --- a/src/poi-gui.c +++ b/src/poi-gui.c @@ -909,7 +909,7 @@ while (GTK_RESPONSE_ACCEPT == gtk_dialog_run(GTK_DIALOG(dialog))) { popup_error(_window, _("Problem updating POI")); } else { map_poi_cache_clear(); - map_render_data(); + map_force_redraw(); } } else { /* add poi */ @@ -918,7 +918,8 @@ while (GTK_RESPONSE_ACCEPT == gtk_dialog_run(GTK_DIALOG(dialog))) { if (poi_add(poi)==FALSE) { popup_error(_window, _("Problem adding POI")); } else { - map_render_data(); + map_poi_cache_clear(); + map_force_redraw(); } } break; @@ -956,7 +957,7 @@ if (poi_add(p)==FALSE) { popup_error(_window, _("Problem adding POI")); } else { map_poi_cache_clear(); - map_render_data(); + map_force_redraw(); gtk_widget_destroy(qp.dialog); }