Merge pull request #915 from RumovZ/fix-template-filter
Fix _template_filter and update want_release_gil()
This commit is contained in:
commit
7883ea0396
@ -57,6 +57,7 @@ fn want_release_gil(method: u32) -> bool {
|
||||
| BackendMethod::NegateSearch
|
||||
| BackendMethod::ConcatenateSearches
|
||||
| BackendMethod::ReplaceSearchTerm
|
||||
| BackendMethod::FilterToSearch
|
||||
)
|
||||
} else {
|
||||
false
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user