| 275 | } |
| 276 | |
| 277 | void OnShowRMS(const CommandContext &context) |
| 278 | { |
| 279 | auto &project = context.project; |
| 280 | auto &trackPanel = TrackPanel::Get( project ); |
| 281 | |
| 282 | ShowRMSPref().Toggle(); |
| 283 | gPrefs->Flush(); |
| 284 | |
| 285 | ToolManager::ModifyAllProjectToolbarMenus(); |
| 286 | |
| 287 | trackPanel.Refresh(false); |
| 288 | } |
| 289 | |
| 290 | } // namespace |
| 291 |