9950: Custom Note Types not shown in the filter siderbar
This commit is contained in:
parent
94716cc20f
commit
e588ff504b
@ -63,7 +63,7 @@ class NoteSidebarFilter(SidebarFilter):
|
|||||||
self.note.set_type((NoteType.CUSTOM,''))
|
self.note.set_type((NoteType.CUSTOM,''))
|
||||||
self.ntype = Gtk.ComboBox(has_entry=True)
|
self.ntype = Gtk.ComboBox(has_entry=True)
|
||||||
if dbstate.is_open():
|
if dbstate.is_open():
|
||||||
self.custom_types = dbstate.db.get_event_types()
|
self.custom_types = dbstate.db.get_note_types()
|
||||||
else:
|
else:
|
||||||
self.custom_types = []
|
self.custom_types = []
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user