mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-06 03:32:09 +01:00
static TrackPanel::Get()...
... not member functions of AudacityProject
This commit is contained in:
@@ -814,7 +814,7 @@ bool ScreenshotCommand::Apply(const CommandContext & context)
|
||||
if (!w)
|
||||
return false;
|
||||
|
||||
TrackPanel *panel = context.project.GetTrackPanel();
|
||||
TrackPanel *panel = &TrackPanel::Get( context.project );
|
||||
AdornedRulerPanel *ruler = panel->mRuler;
|
||||
|
||||
int nTracks = TrackList::Get( context.project ).size();
|
||||
|
||||
Reference in New Issue
Block a user