mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-26 23:33:49 +01:00
Pass AudacityProject * into preference panel factories
This commit is contained in:
@@ -933,7 +933,7 @@ void OnPreferences(const CommandContext &context)
|
||||
{
|
||||
auto &project = context.project;
|
||||
|
||||
GlobalPrefsDialog dialog(&GetProjectFrame( project ) /* parent */ );
|
||||
GlobalPrefsDialog dialog(&GetProjectFrame( project ) /* parent */, &project );
|
||||
|
||||
if( ScreenshotCommand::MayCapture( &dialog ) )
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user