Commit e5568b9
BUG: Fix Undo/Redo in the segment editor logic
Fix Undo/Redo in the segment editor not activated when loading a saved
scene.
Problem was due to not observing the segmentation node modified event
and not synchronizing the segmentation history to the segmentation the
first time it was set.
This fix properly calls the observer reconnect and segmentation history
synchronization methods on set.
Closes Slicer#87211 parent 76db15f commit e5568b9
1 file changed
Lines changed: 6 additions & 0 deletions
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
764 | 764 | | |
765 | 765 | | |
766 | 766 | | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
767 | 770 | | |
768 | 771 | | |
769 | 772 | | |
| |||
2212 | 2215 | | |
2213 | 2216 | | |
2214 | 2217 | | |
| 2218 | + | |
| 2219 | + | |
| 2220 | + | |
2215 | 2221 | | |
2216 | 2222 | | |
2217 | 2223 | | |
| |||
0 commit comments