mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 09:20:16 +01:00
Fix Mac build, and avoid global variable ::GetActiveProject()
This commit is contained in:
@@ -718,9 +718,7 @@ wxAccStatus TrackPanelAx::Select(int childId, wxAccSelectionFlags selectFlags)
|
||||
if (t) {
|
||||
mTrackPanel->SetFocusedTrack(t);
|
||||
mTrackPanel->EnsureVisible(t);
|
||||
AudacityProject* p = GetActiveProject();
|
||||
if (p)
|
||||
p->ModifyState(false);
|
||||
mTrackPanel->MakeParentModifyState(false);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user