gender selection

svn: r6088
This commit is contained in:
Don Allingham 2006-03-06 05:29:24 +00:00
parent 0bd53c1a49
commit c443e1d656
2 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
2006-03-05 Don Allingham <don@gramps-project.org>
* src/Editors/_EditPerson.py: handle None as person
* src/TipOfDay.py: Fix the image location
* src/Editors/_EditPerson.py: fix focus_out_event
* src/ViewManager.py: replace the data

View File

@ -381,7 +381,7 @@ class EditPerson(EditPrimary):
def _check_and_update_id(self):
original = self.db.get_person_from_handle(self.obj.get_handle())
if original.get_gramps_id() != self.obj.get_gramps_id():
if original and original.get_gramps_id() != self.obj.get_gramps_id():
idval = self.obj.get_gramps_id()
person = self.db.get_person_from_gramps_id(idval)
if person: