Crash on family with no parents
svn: r15532
This commit is contained in:
parent
b70e874315
commit
937c8368ac
@ -535,7 +535,7 @@ class EditFamily(EditPrimary):
|
|||||||
self.child_tab.rebuild()
|
self.child_tab.rebuild()
|
||||||
|
|
||||||
def get_menu_title(self):
|
def get_menu_title(self):
|
||||||
if self.obj.get_handle():
|
if self.obj and self.obj.get_handle():
|
||||||
dialog_title = Utils.family_name(self.obj, self.db, _("New Family"))
|
dialog_title = Utils.family_name(self.obj, self.db, _("New Family"))
|
||||||
dialog_title = _("Family") + ': ' + dialog_title
|
dialog_title = _("Family") + ': ' + dialog_title
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user