Use the callback parameter passed to EditEvent.__init__ by passing it to EditPrimary.__init__.
This ensures self.callback is initialised as the calling code expects
This commit is contained in:
parent
a5b5910f7f
commit
490fb1ea3b
@ -74,7 +74,7 @@ class EditEvent(EditPrimary):
|
||||
|
||||
EditPrimary.__init__(self, dbstate, uistate, track,
|
||||
event, dbstate.db.get_event_from_handle,
|
||||
dbstate.db.get_event_from_gramps_id)
|
||||
dbstate.db.get_event_from_gramps_id, callback)
|
||||
|
||||
self._init_event()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user