MCPcopy Create free account
hub / github.com/DISTRHO/Cardinal / disconnectAction

Method disconnectAction

src/override/ModuleWidget.cpp:835–844  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

833}
834
835void 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
846void ModuleWidget::cloneAction(bool cloneCables) {
847 // history::ComplexAction

Callers 1

createContextMenuMethod · 0.45

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected