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.
This commit is contained in:
parent
0a4ce183a4
commit
a5fbbaa548
|
@ -160,9 +160,6 @@ void PANEL_COLOR_SETTINGS::OnThemeChanged( wxCommandEvent& event )
|
||||||
{
|
{
|
||||||
pair.second->SetSwatchBackground( background );
|
pair.second->SetSwatchBackground( background );
|
||||||
pair.second->SetSwatchColor( m_currentSettings->GetColor( pair.first ), false );
|
pair.second->SetSwatchColor( m_currentSettings->GetColor( pair.first ), false );
|
||||||
|
|
||||||
if( pair.first == LAYER_SHEET || pair.first == LAYER_SHEET_BACKGROUND )
|
|
||||||
pair.second->Show( selected->GetOverrideSchItemColors() );
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue