Geography : markers were insensitive for the reference person in geoclose

svn: r19353
This commit is contained in:
Serge Noiraud 2012-04-18 18:05:08 +00:00
parent 06c0aa4d54
commit 89c94a6fa4

View File

@ -396,10 +396,12 @@ class GeoClose(GeoGraphyView):
else: else:
self._append_to_places_without_coord( place.gramps_id, descr) self._append_to_places_without_coord( place.gramps_id, descr)
self.sort = sorted(self.place_list, sort1 = sorted(self.place_list, key=operator.itemgetter(6))
key=operator.itemgetter(6) self.draw(None, sort1, color, reference)
) # merge with the last results
self.draw(None, self.sort, color, reference) merge_list = []
for the_list in self.sort, sort1 : merge_list += the_list
self.sort = sorted(merge_list, key=operator.itemgetter(6))
def init_new_compare(self): def init_new_compare(self):
""" """