| 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 | } |