From d3892c0e8236a4d540dd6eaeea3fd4b4cda24177 Mon Sep 17 00:00:00 2001 From: SNoiraud Date: Wed, 4 Apr 2018 22:31:18 +0200 Subject: [PATCH] Filtering problems in the geography view --- gramps/plugins/view/geoplaces.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gramps/plugins/view/geoplaces.py b/gramps/plugins/view/geoplaces.py index 9400db602..9a4cb6423 100644 --- a/gramps/plugins/view/geoplaces.py +++ b/gramps/plugins/view/geoplaces.py @@ -288,6 +288,7 @@ class GeoPlaces(GeoGraphyView): longitude = "" self.nbmarkers = 0 self.nbplaces = 0 + self.remove_all_markers() self.message_layer.clear_messages() self.message_layer.clear_font_attributes() self.kml_layer.clear() @@ -363,6 +364,8 @@ class GeoPlaces(GeoGraphyView): self._create_one_place(place) progress.step() progress.close() + # reset completely the filter. It will be recreated next time. + self.generic_filter = None elif place_x != None: place = dbstate.db.get_place_from_handle(place_x) self._create_one_place(place)