From 7d8f51dc2ea03983ad768af033b85b2e284ff44f Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Thu, 19 Aug 2021 17:39:18 +0200 Subject: [PATCH] COLOR_SETTINGS: fix a typo that created incorrect saving of 2 options: m_overrideSchItemColors and m_useBoardStackupColors --- common/settings/color_settings.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/settings/color_settings.cpp b/common/settings/color_settings.cpp index 67a795525c..6ec3a0c507 100644 --- a/common/settings/color_settings.cpp +++ b/common/settings/color_settings.cpp @@ -2,7 +2,7 @@ * This program source code file is part of KiCad, a free EDA CAD application. * * Copyright (C) 2020 Jon Evans - * Copyright (C) 2020 KiCad Developers, see AUTHORS.txt for contributors. + * Copyright (C) 2021 KiCad Developers, see AUTHORS.txt for contributors. * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the @@ -65,7 +65,7 @@ COLOR_SETTINGS::COLOR_SETTINGS( const wxString& aFilename ) : &m_overrideSchItemColors, false ) ); m_params.emplace_back( new PARAM( "3d_viewer.use_board_stackup_colors", - &m_overrideSchItemColors, true ) ); + &m_useBoardStackupColors, true ) ); #define CLR( x, y ) \ wxASSERT( s_defaultTheme.count( y ) ); \