mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Don't report missing color theme in B&W mode.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20923
This commit is contained in:
parent
750dbe6336
commit
38385340b1
@ -158,7 +158,7 @@ public:
|
||||
bool GetSvgFitPagetoBoard() const { return m_svgFitPageToBoard; }
|
||||
|
||||
void SetBlackAndWhite( bool blackAndWhite ) { m_blackAndWhite = blackAndWhite; }
|
||||
unsigned GetBlackAndWhite() const { return m_blackAndWhite; }
|
||||
bool GetBlackAndWhite() const { return m_blackAndWhite; }
|
||||
|
||||
void SetSubtractMaskFromSilk( bool aSubtract ) { m_subtractMaskFromSilk = aSubtract; }
|
||||
bool GetSubtractMaskFromSilk() const { return m_subtractMaskFromSilk; }
|
||||
|
@ -476,7 +476,7 @@ void PCB_PLOTTER::PlotJobToPlotOpts( PCB_PLOT_PARAMS& aOpts, JOB_EXPORT_PCB_PLOT
|
||||
|
||||
COLOR_SETTINGS* colors = mgr.GetColorSettings( aJob->m_colorTheme );
|
||||
|
||||
if( colors->GetFilename() != theme )
|
||||
if( colors->GetFilename() != theme && !aOpts.GetBlackAndWhite() )
|
||||
{
|
||||
aReporter.Report( wxString::Format( _( "Color theme '%s' not found, will use theme from PCB Editor.\n" ),
|
||||
theme ),
|
||||
|
Loading…
x
Reference in New Issue
Block a user