From 315e2ccf40b2ac7366051885037dcf6fa905d48e Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Fri, 27 Jun 2003 22:01:59 +0000 Subject: [PATCH] 2003-06-27 Tim Waugh * src/PlaceView.py: Fix removal of unreferenced places. svn: r1797 --- gramps2/ChangeLog | 1 + gramps2/src/PlaceView.py | 1 + 2 files changed, 2 insertions(+) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 7d9ee5849..9d60c1181 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,4 +1,5 @@ 2003-06-27 Tim Waugh + * src/PlaceView.py: Fix removal of unreferenced places. * src/plugins/WebPage.py: Make source links work. * src/EditPerson.py: Place keys are unicode. * src/plugins/Ancestors.py: Include source reference notes. Made diff --git a/gramps2/src/PlaceView.py b/gramps2/src/PlaceView.py index 6157bb8f4..2407fff0a 100644 --- a/gramps2/src/PlaceView.py +++ b/gramps2/src/PlaceView.py @@ -177,6 +177,7 @@ class PlaceView: self.selection.selected_foreach(self.blist,mlist) for place in mlist: + used = 0 for key in self.db.getPersonKeys(): p = self.db.getPerson(key) event_list = [p.getBirth(), p.getDeath()] + p.getEventList()