]> err.no Git - mapper/commitdiff
Two more cache clears
authorKaj-Michael Lang <milang@onion.tal.org>
Thu, 10 Jan 2008 16:28:34 +0000 (18:28 +0200)
committerKaj-Michael Lang <milang@onion.tal.org>
Thu, 10 Jan 2008 16:28:34 +0000 (18:28 +0200)
src/poi-gui.c

index 944f37042a3b617a616a22333f0817c15d09bf9c..fec85de895e8ab85dff02a326643fa3377f8beb5 100644 (file)
@@ -109,6 +109,7 @@ if (i == GTK_RESPONSE_OK) {
        if (poi_category_delete(dpoi->id)==FALSE)
                popup_error(_window, _("Problem deleting category or POI"));
        gtk_widget_hide_all(dpoi->dialog);
+       map_poi_cache_clear();
        map_force_redraw();
 }
 
@@ -447,6 +448,7 @@ if (i == GTK_RESPONSE_OK) {
                popup_error(_window, _("Problem deleting POI"));
        } else {
                gtk_widget_hide_all(dpoi->dialog);
+               map_poi_cache_clear();
                map_force_redraw();
        }
 }