diff --git a/src/gui/editors/displaytabs/surnametab.py b/src/gui/editors/displaytabs/surnametab.py index cefa075f3..6fa16ae64 100644 --- a/src/gui/editors/displaytabs/surnametab.py +++ b/src/gui/editors/displaytabs/surnametab.py @@ -198,7 +198,7 @@ class SurnameTab(EmbeddedList): """Add button is clicked, add a surname to the person""" prim = False if len(self.obj.get_surname_list()) == 0: - prim = true + prim = True node = self.model.append(row=['', '', '', NameOriginType(), prim, Surname()]) self.selection.select_iter(node)