| 324 | } |
| 325 | |
| 326 | void SpectralDataDialog::OnBrushButton(wxCommandEvent &event) { |
| 327 | if (mBrushButton->GetValue()) |
| 328 | ProjectSettings::Get(mProject).SetTool(ToolCodes::brushTool); |
| 329 | else |
| 330 | // Don't stay up |
| 331 | mBrushButton->SetValue(true); |
| 332 | } |
| 333 | |
| 334 | static const AudacityProject::AttachedObjects::RegisteredFactory sSpectralWorkerKey{ |
| 335 | []( AudacityProject &project ){ |