Filtering problems in the geography view
This commit is contained in:
parent
17ffc5460c
commit
d3892c0e82
@ -288,6 +288,7 @@ class GeoPlaces(GeoGraphyView):
|
|||||||
longitude = ""
|
longitude = ""
|
||||||
self.nbmarkers = 0
|
self.nbmarkers = 0
|
||||||
self.nbplaces = 0
|
self.nbplaces = 0
|
||||||
|
self.remove_all_markers()
|
||||||
self.message_layer.clear_messages()
|
self.message_layer.clear_messages()
|
||||||
self.message_layer.clear_font_attributes()
|
self.message_layer.clear_font_attributes()
|
||||||
self.kml_layer.clear()
|
self.kml_layer.clear()
|
||||||
@ -363,6 +364,8 @@ class GeoPlaces(GeoGraphyView):
|
|||||||
self._create_one_place(place)
|
self._create_one_place(place)
|
||||||
progress.step()
|
progress.step()
|
||||||
progress.close()
|
progress.close()
|
||||||
|
# reset completely the filter. It will be recreated next time.
|
||||||
|
self.generic_filter = None
|
||||||
elif place_x != None:
|
elif place_x != None:
|
||||||
place = dbstate.db.get_place_from_handle(place_x)
|
place = dbstate.db.get_place_from_handle(place_x)
|
||||||
self._create_one_place(place)
|
self._create_one_place(place)
|
||||||
|
Loading…
Reference in New Issue
Block a user