| 616 | } |
| 617 | |
| 618 | void ControlToolBar::OnLoop(wxCommandEvent & WXUNUSED(evt)) |
| 619 | { |
| 620 | // Toggle the state of the play region lock |
| 621 | auto ®ion = ViewInfo::Get(mProject).playRegion; |
| 622 | if (region.Active()) |
| 623 | SelectUtilities::InactivatePlayRegion(mProject); |
| 624 | else |
| 625 | SelectUtilities::ActivatePlayRegion(mProject); |
| 626 | } |
| 627 | |
| 628 | void ControlToolBar::OnIdle(wxIdleEvent & event) |
| 629 | { |
nothing calls this directly
no test coverage detected