| 367 | } |
| 368 | |
| 369 | void Worksheet::handleAspectRemoved(const AbstractAspect* /*parent*/, const AbstractAspect* /*before*/, const AbstractAspect* child) { |
| 370 | Q_D(Worksheet); |
| 371 | if (d->layout != Worksheet::Layout::NoLayout) |
| 372 | d->updateLayout(false); |
| 373 | auto* plot = dynamic_cast<const CartesianPlot*>(child); |
| 374 | if (plot) |
| 375 | cursorModelPlotRemoved(plot->name()); |
| 376 | } |
| 377 | |
| 378 | /*! |
| 379 | * called when one of the children was moved, re-adjusts the Z-values for all children. |
nothing calls this directly
no test coverage detected