(self)
| 143 | self.tree.move(selected_item, parent, index - 1) |
| 144 | |
| 145 | def move_down(self): |
| 146 | selected_item = self.tree.selection()[0] |
| 147 | parent = self.tree.parent(selected_item) |
| 148 | index = self.tree.index(selected_item) |
| 149 | next_index = index + 1 |
| 150 | children = self.tree.get_children(parent) |
| 151 | if next_index < len(children): |
| 152 | self.tree.move(selected_item, parent, next_index) |
| 153 | |
| 154 | def copy_json(self): |
| 155 | try: |
nothing calls this directly
no outgoing calls
no test coverage detected