1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-05 03:03:10 +01:00

Remove AudacityProject::GetSelection

This commit is contained in:
Paul Licameli
2019-03-27 04:24:36 -04:00
parent 4018b191b4
commit ca5bb78abe
5 changed files with 4 additions and 6 deletions

View File

@@ -394,7 +394,7 @@ bool DoEffect(
auto trackPanel = project.GetTrackPanel();
auto trackFactory = project.GetTrackFactory();
auto rate = project.GetRate();
auto &selectedRegion = project.GetSelection();
auto &selectedRegion = project.GetViewInfo().selectedRegion;
auto commandManager = project.GetCommandManager();
const PluginDescriptor *plug = PluginManager::Get().GetPlugin(ID);