diff --git a/gramps/gui/editors/editfamily.py b/gramps/gui/editors/editfamily.py index 9d779d7c1..1aacafcb3 100644 --- a/gramps/gui/editors/editfamily.py +++ b/gramps/gui/editors/editfamily.py @@ -340,7 +340,7 @@ class EditFamily(EditPrimary): QR_CATEGORY = CATEGORY_QR_FAMILY - def __init__(self, dbstate, uistate, track, family): + def __init__(self, dbstate, uistate, track, family, callback=None): EditPrimary.__init__(self, dbstate, uistate, track, family, dbstate.db.get_family_from_handle, diff --git a/gramps/gui/editors/editrepository.py b/gramps/gui/editors/editrepository.py index bd2cfa08e..f618ac60e 100644 --- a/gramps/gui/editors/editrepository.py +++ b/gramps/gui/editors/editrepository.py @@ -52,7 +52,7 @@ from ..glade import Glade class EditRepository(EditPrimary): - def __init__(self, dbstate, uistate, track, repository): + def __init__(self, dbstate, uistate, track, repository, callback=None): EditPrimary.__init__(self, dbstate, uistate, track, repository, dbstate.db.get_repository_from_handle, diff --git a/gramps/gui/editors/editsource.py b/gramps/gui/editors/editsource.py index 5739b4783..59c627cb0 100644 --- a/gramps/gui/editors/editsource.py +++ b/gramps/gui/editors/editsource.py @@ -63,7 +63,7 @@ from ..glade import Glade class EditSource(EditPrimary): - def __init__(self, dbstate, uistate, track, source): + def __init__(self, dbstate, uistate, track, source, callback=None): EditPrimary.__init__(self, dbstate, uistate, track, source, dbstate.db.get_source_from_handle,