MCPcopy Create free account
hub / github.com/VCVRack/Rack / disconnectAction

Method disconnectAction

src/app/ModuleWidget.cpp:803–812  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

801}
802
803void ModuleWidget::disconnectAction() {
804 history::ComplexAction* complexAction = new history::ComplexAction;
805 complexAction->name = string::translate("ModuleWidget.history.disconnectCables");
806 appendDisconnectActions(complexAction);
807
808 if (!complexAction->isEmpty())
809 APP->history->push(complexAction);
810 else
811 delete complexAction;
812}
813
814void ModuleWidget::cloneAction(bool cloneCables) {
815 // history::ComplexAction

Callers 1

createContextMenuMethod · 0.80

Calls 3

translateFunction · 0.85
isEmptyMethod · 0.80
pushMethod · 0.45

Tested by

no test coverage detected