From e0a6ff3f140295df57822939c45e5e17f0c0cc11 Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Fri, 16 Sep 2022 15:33:39 -0700 Subject: [PATCH] Don't hold on to the background print color option When printing b/w we need to set the print background to off otherwise we can inadvertently get backgrounds printing --- eeschema/dialogs/dialog_print_using_printer.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/eeschema/dialogs/dialog_print_using_printer.cpp b/eeschema/dialogs/dialog_print_using_printer.cpp index 47585cac1a..5e667d95f0 100644 --- a/eeschema/dialogs/dialog_print_using_printer.cpp +++ b/eeschema/dialogs/dialog_print_using_printer.cpp @@ -249,7 +249,9 @@ void DIALOG_PRINT_USING_PRINTER::SavePrintOptions() cfg->m_Printing.title_block = m_checkReference->IsChecked(); if( m_checkBackgroundColor->IsEnabled() ) - cfg->m_Printing.background = m_checkBackgroundColor->IsChecked(); + cfg->m_Printing.background = m_checkBackgroundColor->IsChecked(); + else + cfg->m_Printing.background = false; cfg->m_Printing.use_theme = m_checkUseColorTheme->IsChecked();