diff --git a/gramps2/src/EventEdit.py b/gramps2/src/EventEdit.py index 76e00df1e..33bd4f4aa 100644 --- a/gramps2/src/EventEdit.py +++ b/gramps2/src/EventEdit.py @@ -262,9 +262,10 @@ class EventEditor: if self.event == None: self.event = RelLib.Event() + self.db.add_event(self.event) self.event.set_source_reference_list(self.srcreflist) self.event.set_witness_list(self.witnesslist) - self.parent.elist.append(self.event) + self.parent.elist.append(self.event.get_id()) self.update_event(ename,self.date,eplace_obj,edesc,enote,eformat,epriv,ecause) self.parent.redraw_event_list() diff --git a/gramps2/src/RelLib.py b/gramps2/src/RelLib.py index 20ab808bc..bdf7ff93d 100644 --- a/gramps2/src/RelLib.py +++ b/gramps2/src/RelLib.py @@ -1,7 +1,7 @@ # # Gramps - a GTK+/GNOME based genealogy program # -# Copyright (C) 2000-2003 Donald N. Allingham +# Copyright (C) 2000-2004 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