From a5fbbaa5486e8614c4a70a892259a05e5ed8a1be Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Wed, 29 Jul 2020 21:29:17 -0400 Subject: [PATCH] Don't hide sheet swatches in theme editor Even if the override is turned off, the theme colors will be used for sheets that don't have colors explicitly set. --- common/dialogs/panel_color_settings.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/common/dialogs/panel_color_settings.cpp b/common/dialogs/panel_color_settings.cpp index fb7c2ef8f1..aa410bc270 100644 --- a/common/dialogs/panel_color_settings.cpp +++ b/common/dialogs/panel_color_settings.cpp @@ -160,9 +160,6 @@ void PANEL_COLOR_SETTINGS::OnThemeChanged( wxCommandEvent& event ) { pair.second->SetSwatchBackground( background ); pair.second->SetSwatchColor( m_currentSettings->GetColor( pair.first ), false ); - - if( pair.first == LAYER_SHEET || pair.first == LAYER_SHEET_BACKGROUND ) - pair.second->Show( selected->GetOverrideSchItemColors() ); } } }