* src/Bookmarks.py (edit): Dont crash if bookmark list contains nonexisting person.
svn: r5000
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
2005-08-02 Martin Hawlisch <Martin.Hawlisch@gmx.de>
|
||||||
|
* src/Bookmarks.py (edit): Dont crash if bookmark list contains
|
||||||
|
nonexisting person.
|
||||||
|
|
||||||
2005-08-01 Don Allingham <don@gramps-project.org>
|
2005-08-01 Don Allingham <don@gramps-project.org>
|
||||||
* src/NavWebPage.py: fix references to places
|
* src/NavWebPage.py: fix references to places
|
||||||
* src/WriteGedcom.py: Fix media handling, issue error message
|
* src/WriteGedcom.py: Fix media handling, issue error message
|
||||||
|
@@ -145,6 +145,7 @@ class Bookmarks :
|
|||||||
index = 0
|
index = 0
|
||||||
for person_handle in self.bookmarks:
|
for person_handle in self.bookmarks:
|
||||||
person = self.db.get_person_from_handle(person_handle)
|
person = self.db.get_person_from_handle(person_handle)
|
||||||
|
if person:
|
||||||
name = NameDisplay.displayer.display(person)
|
name = NameDisplay.displayer.display(person)
|
||||||
self.namelist.append([name])
|
self.namelist.append([name])
|
||||||
self.namelist.set_row_data(index,person_handle)
|
self.namelist.set_row_data(index,person_handle)
|
||||||
|
Reference in New Issue
Block a user