Define our extra menu item that invokes that factory
| 505 | |
| 506 | // Define our extra menu item that invokes that factory |
| 507 | void OnHistory(const CommandContext &context) |
| 508 | { |
| 509 | auto &project = context.project; |
| 510 | |
| 511 | auto historyWindow = &GetAttachedWindows(project).Get(sHistoryWindowKey); |
| 512 | historyWindow->Show(); |
| 513 | historyWindow->Raise(); |
| 514 | } |
| 515 | |
| 516 | // Register that menu item |
| 517 |