diff --git a/pylib/rsbridge/lib.rs b/pylib/rsbridge/lib.rs index f3dedb826..53f324f23 100644 --- a/pylib/rsbridge/lib.rs +++ b/pylib/rsbridge/lib.rs @@ -57,6 +57,7 @@ fn want_release_gil(method: u32) -> bool { | BackendMethod::NegateSearch | BackendMethod::ConcatenateSearches | BackendMethod::ReplaceSearchTerm + | BackendMethod::FilterToSearch ) } else { false diff --git a/qt/aqt/browser.py b/qt/aqt/browser.py index 10b684524..c673cc93c 100644 --- a/qt/aqt/browser.py +++ b/qt/aqt/browser.py @@ -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