diff --git a/src/EventEdit.py b/src/EventEdit.py index 1bf9d39df..488f30b90 100644 --- a/src/EventEdit.py +++ b/src/EventEdit.py @@ -134,11 +134,20 @@ class EventEditor: self.top.get_widget('edit_witness'), self.top.get_widget('del_witness')) + transname = const.display_event(event.getName()) + + # add the name to the list if it is not already there. This tends to occur + # in translated languages with the 'Death' event, which is a partial match + # to other events + + if not transname in list: + list.append(transname) + AutoComp.AutoCombo(self.event_menu,list) AutoComp.AutoEntry(self.place_field,self.pmap.keys()) if event != None: - self.name_field.set_text(const.display_event(event.getName())) + self.name_field.set_text(transname) if (def_placename): self.place_field.set_text(def_placename) else: