7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-11 15:40:10 +00:00

Respect system dark / light theme if common settings not available

This commit is contained in:
JamesJCode 2024-08-14 01:15:46 +01:00
parent bec7148593
commit 00f89ae28e

View File

@ -220,7 +220,7 @@ void BITMAP_STORE::ThemeChanged()
}
else
{
m_theme = wxT( "light" );
m_theme = KIPLATFORM::UI::IsDarkTheme() ? wxT( "dark" ) : wxT( "light" );
}
if( !oldTheme.IsSameAs( m_theme ) )