1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-09 13:12:17 +01:00

static ToolManager::Get()...

... not member functions of AudacityProject
This commit is contained in:
Paul Licameli
2019-05-01 13:18:39 -04:00
parent 68e25f3b7d
commit 15dd230ee1
11 changed files with 170 additions and 138 deletions

View File

@@ -878,7 +878,7 @@ void ControlToolBar::StopPlaying(bool stopStream /* = true*/)
}
}
const auto toolbar = project->GetToolManager()->GetToolBar(ScrubbingBarID);
const auto toolbar = ToolManager::Get( *project ).GetToolBar(ScrubbingBarID);
toolbar->EnableDisableButtons();
}