mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
fix concat of mid searches
This commit is contained in:
parent
23650f6ee0
commit
ead1f005ec
1 changed files with 1 additions and 1 deletions
|
@ -778,7 +778,7 @@ by clicking on one on the left."""))
|
|||
def _modelTree(self, root):
|
||||
for m in sorted(self.col.models.all(), key=itemgetter("name")):
|
||||
mitem = self.CallbackItem(
|
||||
m['name'], lambda m=m: self.setFilter("mid", m['id']))
|
||||
m['name'], lambda m=m: self.setFilter("mid", str(m['id'])))
|
||||
mitem.setIcon(0, QIcon(":/icons/product_design.png"))
|
||||
root.addChild(mitem)
|
||||
# for t in m['tmpls']:
|
||||
|
|
Loading…
Reference in a new issue