Remove unused name prefix of sidebar templates

This commit is contained in:
RumovZ 2021-07-13 16:41:50 +02:00
parent eab51dce40
commit 3a1f8d4241

View File

@ -837,7 +837,6 @@ class SidebarTreeView(QTreeView):
SearchNode(note=nt["name"]), SearchNode(template=c) SearchNode(note=nt["name"]), SearchNode(template=c)
), ),
item_type=SidebarItemType.NOTETYPE_TEMPLATE, item_type=SidebarItemType.NOTETYPE_TEMPLATE,
name_prefix=f"{nt['name']}::",
id=tmpl["ord"], id=tmpl["ord"],
) )
item.add_child(child) item.add_child(child)