2007-02-23 Alex Roitman <shura@gramps-project.org>

* src/Editors/_EditFamily.py (edit_child_button_clicked): Catch
	open window situation.



svn: r8222
This commit is contained in:
Alex Roitman 2007-02-24 01:18:34 +00:00
parent a53f6e61b2
commit 1535b502f7
2 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2007-02-23 Alex Roitman <shura@gramps-project.org>
* src/Editors/_EditFamily.py (edit_child_button_clicked): Catch
open window situation.
2007-02-22 Alex Roitman <shura@gramps-project.org>
* src/docgen/PdfDoc.py (write_text): Close <br/> tag.
* src/GrampsDb/_GrampsBSDDB.py (reindex_reference_map): Typo.

View File

@ -1,7 +1,7 @@
#
# Gramps - a GTK+/GNOME based genealogy program
#
# Copyright (C) 2000-2006 Donald N. Allingham
# Copyright (C) 2000-2007 Donald N. Allingham
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@ -264,9 +264,12 @@ class ChildEmbedList(EmbeddedList):
for ref in self.family.get_child_ref_list():
if ref.ref == handle:
p = self.dbstate.db.get_person_from_handle(handle)
EditPerson(self.dbstate, self.uistate, self.track,
p, self.child_ref_edited)
try:
p = self.dbstate.db.get_person_from_handle(handle)
EditPerson(self.dbstate, self.uistate, self.track,
p, self.child_ref_edited)
except Errors.WindowActiveError:
pass
break
def drag_data_received(self, widget, context, x, y, sel_data, info, time):