| 400 | |
| 401 | |
| 402 | void CableWidget::onRemove(const RemoveEvent& e) { |
| 403 | Widget* plugContainer = APP->scene->rack->getPlugContainer(); |
| 404 | plugContainer->removeChild(outputPlug); |
| 405 | plugContainer->removeChild(inputPlug); |
| 406 | Widget::onRemove(e); |
| 407 | } |
| 408 | |
| 409 | |
| 410 | } // namespace app |
no test coverage detected