Don't add 1 when calling _template_filter()

See #913.
This commit is contained in:
RumovZ 2021-01-10 11:30:14 +01:00
parent 5f70d718b8
commit 388e958f39

View File

@ -1390,7 +1390,7 @@ QTableView {{ gridline-color: {grid} }}
num=c + 1,
name=self._escapeMenuItem(tmpl["name"]),
)
subm.addItem(name, self._template_filter(nt["name"], c + 1))
subm.addItem(name, self._template_filter(nt["name"], c))
m.addChild(noteTypes.chunked())
return m