svn: r2878
This commit is contained in:
Alex Roitman 2004-02-20 02:12:39 +00:00
parent df121aed48
commit af31bab1ee
2 changed files with 3 additions and 2 deletions

View File

@ -262,9 +262,10 @@ class EventEditor:
if self.event == None: if self.event == None:
self.event = RelLib.Event() self.event = RelLib.Event()
self.db.add_event(self.event)
self.event.set_source_reference_list(self.srcreflist) self.event.set_source_reference_list(self.srcreflist)
self.event.set_witness_list(self.witnesslist) 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.update_event(ename,self.date,eplace_obj,edesc,enote,eformat,epriv,ecause)
self.parent.redraw_event_list() self.parent.redraw_event_list()

View File

@ -1,7 +1,7 @@
# #
# Gramps - a GTK+/GNOME based genealogy program # 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 # 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 # it under the terms of the GNU General Public License as published by