| 652 | } |
| 653 | |
| 654 | void MainWindow::removeStep(IPProcessStep *step) |
| 655 | { |
| 656 | // hide settings |
| 657 | hideProcessSettings(); |
| 658 | |
| 659 | if(_activeProcessStep == step) |
| 660 | _activeProcessStep= NULL; |
| 661 | |
| 662 | if(_lastActiveProcessStep == step) |
| 663 | _lastActiveProcessStep = NULL; |
| 664 | |
| 665 | // remove from image viewer |
| 666 | _imageViewer->removeProcessStep(step); |
| 667 | |
| 668 | // remove from scene |
| 669 | _scene->removeStep(step); |
| 670 | |
| 671 | // delete step; |
| 672 | |
| 673 | setParamsHaveChanged(); |
| 674 | // execute(); |
| 675 | } |
| 676 | |
| 677 | void MainWindow::addEdge(IPProcessEdge *edge) |
| 678 | { |
nothing calls this directly
no test coverage detected