diff --git a/gramps/gui/filters/sidebar/_eventsidebarfilter.py b/gramps/gui/filters/sidebar/_eventsidebarfilter.py index 2f0001a2c..b2c14bb43 100644 --- a/gramps/gui/filters/sidebar/_eventsidebarfilter.py +++ b/gramps/gui/filters/sidebar/_eventsidebarfilter.py @@ -62,11 +62,13 @@ class EventSidebarFilter(SidebarFilter): self.filter_event = Event() self.filter_event.set_type((EventType.CUSTOM, '')) self.etype = Gtk.ComboBox(has_entry=True) + self.custom_types = dbstate.db.get_event_types() self.event_menu = widgets.MonitoredDataType( self.etype, self.filter_event.set_type, - self.filter_event.get_type) + self.filter_event.get_type, + custom_values=self.custom_types) self.filter_mainparts = widgets.BasicEntry() self.filter_date = widgets.DateEntry(uistate, [])