mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 16:26:40 -04:00
Fix wrong tag collapse state being used
This commit is contained in:
parent
0ac97cf358
commit
5ac69d6dc6
1 changed files with 2 additions and 2 deletions
|
@ -1168,8 +1168,8 @@ QTableView {{ gridline-color: {grid} }}
|
|||
|
||||
def toggle_expand():
|
||||
full_name = head + node.name # pylint: disable=cell-var-from-loop
|
||||
return lambda _: self.mw.col.tags.set_collapsed(
|
||||
full_name, not node.collapsed
|
||||
return lambda expanded: self.mw.col.tags.set_collapsed(
|
||||
full_name, not expanded
|
||||
)
|
||||
|
||||
item = SidebarItem(
|
||||
|
|
Loading…
Reference in a new issue