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

Method onAction

src/app/MenuBar.cpp:160–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158 MenuItem::step();
159 }
160 void onAction(const ActionEvent& e) override {
161 APP->history->redo();
162 }
163 };
164 menu->addChild(createMenuItem<RedoItem>("", widget::getKeyCommandName(GLFW_KEY_Z, RACK_MOD_CTRL | GLFW_MOD_SHIFT)));
165

Callers

nothing calls this directly

Calls 1

redoMethod · 0.45

Tested by

no test coverage detected