updateItems updates this node items, removing or inserting them into the tree scroller
()
| 447 | |
| 448 | // updateItems updates this node items, removing or inserting them into the tree scroller |
| 449 | func (n *TreeNode) updateItems() { |
| 450 | |
| 451 | pos := n.tree.ItemPosition(n) |
| 452 | if pos < 0 { |
| 453 | return |
| 454 | } |
| 455 | n.removeItems() |
| 456 | n.insertItems(pos + 1) |
| 457 | } |
no test coverage detected