Don't expose palette colors in UI theme editor
Some checks are pending
CI - File health / Check (push) Waiting to run
CI - macOS / Build (push) Waiting to run
CI - Python / Check (push) Waiting to run
CI - Ubuntu / Build (push) Waiting to run
CI - WebUI / Check (push) Waiting to run
CI - Windows / Build (push) Waiting to run

PR #22923.
Fixes regression introduced by #22330.
This commit is contained in:
Vladimir Golovnev 2025-06-27 13:44:10 +03:00 committed by GitHub
parent 41d7d672ce
commit dd4a2eb583
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 9 additions and 3 deletions

View file

@ -105,6 +105,8 @@ DefaultThemeSource::DefaultThemeSource()
, m_colors {defaultUIThemeColors()}
{
loadColors();
// Palette isn't customizable in default theme
m_colors.insert(defaultPaletteColors());
}
QByteArray DefaultThemeSource::readStyleSheet()