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

Method step

src/override/MenuBar.cpp:358–362  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

356
357 struct RedoItem : ui::MenuItem {
358 void step() override {
359 text = "Redo " + APP->history->getRedoName();
360 disabled = !APP->history->canRedo();
361 MenuItem::step();
362 }
363 void onAction(const ActionEvent& e) override {
364 APP->history->redo();
365 }

Callers

nothing calls this directly

Calls 1

canRedoMethod · 0.80

Tested by

no test coverage detected