7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-20 21:31:42 +00:00

Fix plot job paths not saving

This commit is contained in:
Marek Roszko 2025-01-11 18:04:26 -05:00
parent 47fb4686c3
commit 4cfd6f71e5
2 changed files with 4 additions and 0 deletions

View File

@ -519,6 +519,8 @@ void DIALOG_PLOT::transferPlotParamsToJob()
break;
}
}
m_job->SetOutputPath( m_plotOpts.GetOutputDirectory() );
}

View File

@ -422,4 +422,6 @@ void PCB_PLOTTER::PlotJobToPlotOpts( PCB_PLOT_PARAMS& aPlotOpts, JOB_EXPORT_PCB_
PCBNEW_SETTINGS* cfg = mgr.GetAppSettings<PCBNEW_SETTINGS>( theme );
aPlotOpts.SetColorSettings( mgr.GetColorSettings( cfg->m_ColorTheme ) );
aPlotOpts.SetOutputDirectory( aJob->GetOutputPath() );
}