| 833 | } |
| 834 | |
| 835 | void ModuleWidget::disconnectAction() { |
| 836 | history::ComplexAction* complexAction = new history::ComplexAction; |
| 837 | complexAction->name = "disconnect cables"; |
| 838 | appendDisconnectActions(complexAction); |
| 839 | |
| 840 | if (!complexAction->isEmpty()) |
| 841 | APP->history->push(complexAction); |
| 842 | else |
| 843 | delete complexAction; |
| 844 | } |
| 845 | |
| 846 | void ModuleWidget::cloneAction(bool cloneCables) { |
| 847 | // history::ComplexAction |