Commit 4946d80
committed
Review widget: fix error in node deletion handling
After node deletion, the review segment showed an error if a subarbor
was under review. This is fixed now by checking if there is a subarbor
under review in the first place, before attempting to refer to it.
Second, the view isn't moved anymore after a node was deleted. As
@acardona pointed out, this is rather distracting and one is usually
well aware where one deletes a node. Plus, returning to the node under
review can be achieved by W/E key presses or by clicking on the "Review"
button.
See catmaid/catmaid@22801 parent 1a605a1 commit 4946d80
1 file changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
111 | | - | |
112 | | - | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
113 | 115 | | |
114 | 116 | | |
115 | 117 | | |
| |||
0 commit comments