mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-08 20:52:09 +01:00
static TrackPanel::Get()...
... not member functions of AudacityProject
This commit is contained in:
@@ -339,7 +339,7 @@ void DeviceToolBar::EnableDisableButtons()
|
||||
if (focus == mHost || focus == mInput || focus == mOutput || focus == mInputChannels) {
|
||||
AudacityProject *activeProject = GetActiveProject();
|
||||
if (activeProject) {
|
||||
activeProject->GetTrackPanel()->SetFocus();
|
||||
TrackPanel::Get( *activeProject ).SetFocus();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user