| 589 | } |
| 590 | |
| 591 | void ControlToolBar::PlayDefault() |
| 592 | { |
| 593 | // Let control-down have precedence over shift state |
| 594 | const bool cutPreview = mPlay->WasControlDown(); |
| 595 | const bool newDefault = !cutPreview && |
| 596 | !mPlay->WasShiftDown(); |
| 597 | ProjectAudioManager::Get( mProject ) |
| 598 | .PlayCurrentRegion(newDefault, cutPreview); |
| 599 | } |
| 600 | |
| 601 | /*! @excsafety{Strong} -- For state of current project's tracks */ |
| 602 | void ControlToolBar::OnRecord(wxCommandEvent &evt) |
nothing calls this directly
no test coverage detected