From 3dc50f059efea0d5db9b8c641b8472651b879c43 Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Thu, 10 Jan 2008 18:25:15 +0200 Subject: [PATCH] Missed one spot. Use full redraw. --- src/poi-gui.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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); } -- 2.39.5