diff --git a/gramps/gui/filters/sidebar/_notesidebarfilter.py b/gramps/gui/filters/sidebar/_notesidebarfilter.py index 2c0a6fee8..3c63ce120 100644 --- a/gramps/gui/filters/sidebar/_notesidebarfilter.py +++ b/gramps/gui/filters/sidebar/_notesidebarfilter.py @@ -63,7 +63,7 @@ class NoteSidebarFilter(SidebarFilter): self.note.set_type((NoteType.CUSTOM,'')) self.ntype = Gtk.ComboBox(has_entry=True) if dbstate.is_open(): - self.custom_types = dbstate.db.get_event_types() + self.custom_types = dbstate.db.get_note_types() else: self.custom_types = []