Fix wrong tag collapse state being used
This commit is contained in:
parent
0ac97cf358
commit
5ac69d6dc6
@ -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 New Issue
Block a user